summaryrefslogtreecommitdiff
path: root/utils/unittest/UnitTestMain
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2016-02-12 00:37:52 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2016-02-12 00:37:52 +0000
commit84dedd3a11e1a75e719543584df1fb35674538ab (patch)
tree525df23352d39ab3581f96df73c1e53a301a6d86 /utils/unittest/UnitTestMain
parent4c8093a71a407648a79f5caf0bb3ddcc41336cea (diff)
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@260632 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/unittest/UnitTestMain')
0 files changed, 0 insertions, 0 deletions