summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-05-31 12:04:08 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-05-31 12:04:08 +0000
commit96284becf4383fa991dfa351141cc4beab747171 (patch)
treed7b5a0c33dfb2b809315af32e4aeaf175773178b /llvm/lib/Transforms
parent53c24fe0e6761a6c1276c70d5a02b86ac43e279b (diff)
downloadbcm5719-llvm-96284becf4383fa991dfa351141cc4beab747171.tar.gz
bcm5719-llvm-96284becf4383fa991dfa351141cc4beab747171.zip
[msan] Handle mixed track-origins and keep-going settings (compiler-rt part).
Before this change, each module defined a weak_odr global __msan_track_origins with a value of 1 if origin tracking is enabled, 0 if disabled. If there are modules with different values, any of them may win. If 0 wins, and there is at least one module with 1, the program will most likely crash. With this change, __msan_track_origins is only emitted if origin tracking is on. Then runtime library detects if there is at least one module with origin tracking, and enables runtime support for it. llvm-svn: 182996
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud