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
2016-02-09 22:17:48 +00:00
S
Description
No description provided
887 MiB
Languages
C++ 46.8%
LLVM 31.2%
C 10.7%
Assembly 7.2%
Python 1.4%
Other 2.3%