Fangrui Song
fd739804e0
[test] Add {{.*}} to make ELF tests immune to dso_local/dso_preemptable/(none) differences
...
For a default visibility external linkage definition, dso_local is set for ELF
-fno-pic/-fpie and COFF and Mach-O. Since default clang -cc1 for ELF is similar
to -fpic ("PIC Level" is not set), this nuance causes unneeded binary format differences.
To make emitted IR similar, ELF -cc1 -fpic will default to -fno-semantic-interposition,
which sets dso_local for default visibility external linkage definitions.
To make this flip smooth and enable future (dso_local as definition default),
this patch replaces (function) `define ` with `define{{.*}} `,
(variable/constant/alias) `= ` with `={{.*}} `, or inserts appropriate `{{.*}} `.
2020-12-31 00:27:11 -08:00
..
2020-12-31 00:27:11 -08:00
2020-12-31 00:27:11 -08:00
2019-01-31 15:23:48 +00:00
2020-07-29 17:24:53 +03:00
2020-12-31 00:27:11 -08:00
2020-12-31 00:27:11 -08:00
2020-12-31 00:27:11 -08:00
2019-02-08 15:34:12 +00:00
2020-12-31 00:27:11 -08:00
2020-12-31 00:27:11 -08:00
2020-12-31 00:27:11 -08:00
2020-12-07 19:50:21 -05:00
2020-12-07 19:50:21 -05:00
2020-12-31 00:27:11 -08:00
2020-11-20 15:46:53 +00:00
2020-12-12 18:19:02 +00:00
2020-12-31 00:27:11 -08:00
2019-05-24 14:53:52 +00:00
2020-12-31 00:27:11 -08:00
2019-03-25 20:54:00 +00:00
2020-04-27 13:32:00 -04:00
2020-06-29 14:13:12 +01:00
2020-12-31 00:27:11 -08:00
2019-09-05 03:00:43 +00:00
2019-06-22 01:30:00 +00:00
2019-06-22 01:30:00 +00:00
2019-06-22 01:30:00 +00:00
2019-06-22 01:30:00 +00:00
2020-01-16 18:10:29 -05:00
2019-01-28 13:50:37 +00:00
2020-01-28 04:41:21 -05:00
2020-09-23 11:39:50 -07:00
2020-10-29 16:25:13 +00:00
2020-12-30 20:52:01 -08:00
2019-07-22 12:50:30 +00:00
2020-12-12 05:48:20 -08:00
2020-12-31 00:27:11 -08:00
2020-12-31 00:27:11 -08:00
2020-12-31 00:27:11 -08:00
2020-07-05 11:50:38 -07:00
2020-04-17 10:45:48 -07:00
2020-12-31 00:27:11 -08:00
2019-12-03 11:09:16 +00:00
2020-10-01 11:07:39 -04:00
2020-07-05 11:50:38 -07:00
2019-07-25 11:04:29 +00:00
2020-07-03 18:01:12 +03:00
2020-12-31 00:27:11 -08:00
2020-12-31 00:27:11 -08:00
2019-07-25 11:04:29 +00:00
2019-05-17 09:25:38 +00:00
2020-02-16 20:41:00 -05:00
2019-05-08 14:23:49 +00:00
2020-12-31 00:27:11 -08:00
2019-07-25 11:04:29 +00:00
2020-12-31 00:27:11 -08:00
2020-12-31 00:27:11 -08:00
2020-12-30 22:36:08 +09:00
2019-01-29 20:49:47 +00:00
2020-12-31 00:27:11 -08:00
2020-12-31 00:27:11 -08:00
2020-06-27 01:34:57 -07:00
2020-12-31 00:27:11 -08:00
2020-12-31 00:27:11 -08:00
2020-05-20 06:19:10 -07:00
2019-07-25 11:04:29 +00:00
2020-12-31 00:27:11 -08:00
2020-12-12 05:48:20 -08:00
2019-03-20 16:43:07 +00:00
2020-12-30 22:36:08 +09:00
2020-12-31 00:27:11 -08:00
2020-12-31 00:27:11 -08:00
2020-12-31 00:27:11 -08:00