Fangrui Song
5c29ffda90
Revert "[Driver][test] Replace ^//$ with empty string"
...
This reverts commit 4817b7729a1846b709ec02b98bfe11b0125f8e8f.
It caused some `^/\n` and had some objection about its readability improvement.
2022-06-24 13:52:27 -07:00
Fangrui Song
4817b7729a
[Driver][test] Replace ^//$ with empty string
...
The convention does not add //\n. Having all RUN/CHECK lines separated by //\n
makes editor movement difficult (e.g. { } in Vim).
2022-06-24 11:25:03 -07:00
Fangrui Song
6cfcfbdc95
[Driver][test] Remove unneeded -no-canonical-prefixes and use preferred --target=
...
Similar to D119309
2022-05-01 20:44:13 -07:00
Rafael Espindola
b8a1293e0b
Make unique section names the default again.
...
Using non unique names found a bug in the ICF inplementation in gold:
https://sourceware.org/bugzilla/show_bug.cgi?id=18440
This reverts commit r234143.
llvm-svn: 238048
2015-05-22 20:44:03 +00:00
Rafael Espindola
298059a4ac
This reverts commit r234104, bringing back 233393 now that ARM is fixed.
...
Original message:
Don't use unique section names by default if using the integrated as.
This saves some IO and ccache space by not creating long section names. It
should work with every ELF linker.
llvm-svn: 234143
2015-04-06 04:36:45 +00:00
Rafael Espindola
d7329ef99f
Revert "Revert "Revert "Don't use unique section names by default if using the integrated as."""
...
This reverts commit r234101. I will debug what went wrong with ARM.
llvm-svn: 234104
2015-04-04 19:32:41 +00:00
Rafael Espindola
321fabfd8e
Revert "Revert "Don't use unique section names by default if using the integrated as.""
...
This reverts commit r233398, bringing back 233393 now that LLVM is fixed.
Original message:
Don't use unique section names by default if using the integrated as.
This saves some IO and ccache space by not creating long section names. It
should work with every ELF linker.
llvm-svn: 234101
2015-04-04 18:21:14 +00:00
Rafael Espindola
d053d20d0d
Revert "Don't use unique section names by default if using the integrated as."
...
This reverts commit r233393 while a debug a bot failure.
llvm-svn: 233398
2015-03-27 19:01:14 +00:00
Rafael Espindola
463a0afe15
Don't use unique section names by default if using the integrated as.
...
This saves some IO and ccache space by not creating long section names. It
should work with every ELF linker.
llvm-svn: 233393
2015-03-27 17:55:23 +00:00
Rafael Espindola
6b07a1c6ee
Add -funique-section-names and -fno-unique-section-names options.
...
For now -funique-section-names is the default, so no change in default behavior.
The total .o size in a build of llvm and clang goes from 241687775 to 230649031
bytes if -fno-unique-section-names is used.
llvm-svn: 230031
2015-02-20 18:08:57 +00:00
Evgeniy Stepanov
9e7cb33b17
Fix handling of -fno-function-sections, -fno-data-sections in clang driver.
...
llvm-svn: 200685
2014-02-03 11:11:37 +00:00