llvm-project/llvm/lib/Transforms
Evgeniy Stepanov ba6ca87ffb [msan] Put msan constructor in a comdat.
MSan adds a constructor to each translation unit that calls
__msan_init, and does nothing else. The idea is to run __msan_init
before any instrumented code. This results in multiple constructors
and multiple .init_array entries in the final binary, one per
translation unit. This is absolutely unnecessary; one would be
enough.

This change moves the constructors to a comdat group in order to drop
the extra ones.

llvm-svn: 260632
2016-02-12 00:37:52 +00:00
..
Hello Remove autoconf support 2016-01-26 21:29:08 +00:00
IPO Revert "Refactor the PassManagerBuilder: extract a "addFunctionSimplificationPasses()"" 2016-02-11 22:09:11 +00:00
InstCombine Re-apply r238452, the bug was in clang and was fixed in r260567. 2016-02-11 22:30:41 +00:00
Instrumentation [msan] Put msan constructor in a comdat. 2016-02-12 00:37:52 +00:00
ObjCARC Add support for objc_unsafeClaimAutoreleasedReturnValue to the 2016-01-27 19:05:08 +00:00
Scalar Fix MSVC 2013 build after rL260504 2016-02-11 11:27:51 +00:00
Utils [msan] Put msan constructor in a comdat. 2016-02-12 00:37:52 +00:00
Vectorize [SLP] Add debug output for extract cost (NFC) 2016-02-11 23:06:40 +00:00
CMakeLists.txt
LLVMBuild.txt