llvm-project/lld/unittests
Rui Ueyama 4a259cf4a5 [PECOFF] Enable dead-stripping even if /debug option is given.
/debug makes MSVC link.exe to not remove unused sections from
the resulting executable. We did the same thing before. However,
I realized that the removal of associative section depends on
the dead-stripping pass in LLD, so we cannot disable that. Or
LLD may produce slightly broken executables that have too much
data in it (which could result in nasty subtle bugs).

This patch is a temporary measure to create correct executable.
Currently /debug does not have any real effect for LLD anyway.

I'll improve associative section handling in another patch, so that
they are removed from output without depending on the dead-stripping
pass.

llvm-svn: 222483
2014-11-20 23:59:40 +00:00
..
CoreTests Use LLVMLIBS here since these are produced by the 2014-11-04 23:27:52 +00:00
DriverTests [PECOFF] Enable dead-stripping even if /debug option is given. 2014-11-20 23:59:40 +00:00
MachOTests Fix Mach-O unit tests breakage on Windows 2014-11-07 02:54:52 +00:00
CMakeLists.txt Supoort mach-o encoded in yaml. 2013-10-08 00:43:34 +00:00
Makefile Initial set of Makefiles 2014-06-04 09:54:07 +00:00