llvm-project/lld/test
Petr Hosek 2fd533db9f [ELF] When placing orphans, handle case when last section is dead
r315292 introduced a change that's supposed to consistently ignore
"dead" output sections when placing orphans. Unfortunately, that
change doesn't handle the special case when the orphan section is
second to last section and the last section is dead (e.g. because
it's being discarded) introducing a regression in some cases.

This change handles this case by using the same predicate when
checking the last section.

Differential Revision: https://reviews.llvm.org/D39172

llvm-svn: 316307
2017-10-23 00:51:08 +00:00
..
COFF COFF: Add type server pdb files to linkrepro tar file. 2017-10-20 19:48:26 +00:00
Driver/Inputs Remove the old ELF linker. 2016-02-28 00:10:58 +00:00
ELF [ELF] When placing orphans, handle case when last section is dead 2017-10-23 00:51:08 +00:00
MinGW [MinGW] Hook up the --export-all-symbols and --output-def options 2017-10-12 05:37:18 +00:00
Unit [lit] Rename lld and clang lit configs to end in .py 2017-09-21 17:38:13 +00:00
darwin Add the GC commandline options and throw errors if they are used 2016-01-15 17:39:02 +00:00
mach-o [MACH-O] Fix the ASM code generated for __stub_helpers section 2017-08-24 23:51:40 +00:00
CMakeLists.txt [lit] Rename lld and clang lit configs to end in .py 2017-09-21 17:38:13 +00:00
lit.cfg.py COFF: Add type server pdb files to linkrepro tar file. 2017-10-20 19:48:26 +00:00
lit.site.cfg.py.in [lit] Rename lld and clang lit configs to end in .py 2017-09-21 17:38:13 +00:00