forked from OSchip/llvm-project
ba6ca87ffb
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 |
||
---|---|---|
.. | ||
AArch64 | ||
X86 | ||
array_types.ll | ||
atomics.ll | ||
byval-alignment.ll | ||
check-constant-shadow.ll | ||
check_access_address.ll | ||
global_ctors_2to3.ll | ||
instrumentation-with-call-threshold.ll | ||
missing_origin.ll | ||
msan_basic.ll | ||
mul_by_constant.ll | ||
origin-alignment.ll | ||
origin-array.ll | ||
return_from_main.ll | ||
store-long-origin.ll | ||
store-origin.ll | ||
unreachable.ll | ||
vector_arith.ll | ||
vector_cvt.ll | ||
vector_pack.ll | ||
vector_shift.ll |