summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/ModuleManager.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2014-11-20 23:59:40 +0000
committerRui Ueyama <ruiu@google.com>2014-11-20 23:59:40 +0000
commit4a259cf4a5f95ded6489695404cf904718431d18 (patch)
tree3f25cf649856ef8a082dde3dfaa5a764504a6446 /clang/lib/Serialization/ModuleManager.cpp
parent01014cee76f2da9df70c9e17bebaebf7f0a52c6d (diff)
downloadbcm5719-llvm-4a259cf4a5f95ded6489695404cf904718431d18.tar.gz
bcm5719-llvm-4a259cf4a5f95ded6489695404cf904718431d18.zip
[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
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud