hanchenye-llvm-project/lld/test
Rafael Espindola 692b2f88d3 Fully precise gc handling of __start and __stop symbols.
This puts us at parity with bfd, which could already gc this case.

I noticed the sections not being gced when linking a modified freebsd
kernel. A section that was not gced and not mentioned in the linker
script would end up breaking the expected layout. Since fixing the gc
is relatively simple and an improvement, that seems better than trying
to hack the orphan placement code.

There are 173 input section in the entire link whose names are valid C
identifiers, so this is probably not too performance critical.

llvm-svn: 297049
2017-03-06 18:48:18 +00:00
..
COFF [COFF] added test for thinlto 2017-02-23 23:42:24 +00:00
Driver/Inputs Remove the old ELF linker. 2016-02-28 00:10:58 +00:00
ELF Fully precise gc handling of __start and __stop symbols. 2017-03-06 18:48:18 +00:00
Unit Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 07:09:39 +00:00
darwin
mach-o Partially revert r287009: Remove trailing whitespace. 2016-11-15 19:09:13 +00:00
CMakeLists.txt Add missing test dependency. 2017-03-01 23:11:58 +00:00
lit.cfg [test] Fix zlib cond when building stand-alone, clean up 2017-02-08 20:08:29 +00:00
lit.site.cfg.in [test] Fix zlib cond when building stand-alone, clean up 2017-02-08 20:08:29 +00:00