diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-01-22 13:26:53 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-01-22 13:26:53 +0000 |
commit | be0008a4df72bf9da3246707cdec2766ace75d32 (patch) | |
tree | ecaea400cb93e5f67611c68e35648fc60477d805 /lib/Transforms | |
parent | 4247b13252a99b284e1ed396be9755878d42df2a (diff) | |
download | external_llvm-be0008a4df72bf9da3246707cdec2766ace75d32.zip external_llvm-be0008a4df72bf9da3246707cdec2766ace75d32.tar.gz external_llvm-be0008a4df72bf9da3246707cdec2766ace75d32.tar.bz2 |
[msan] Export the value of msan-keep-going flag for the runtime.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173156 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/Instrumentation/MemorySanitizer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Transforms/Instrumentation/MemorySanitizer.cpp b/lib/Transforms/Instrumentation/MemorySanitizer.cpp index 8bb8115..20b6de2 100644 --- a/lib/Transforms/Instrumentation/MemorySanitizer.cpp +++ b/lib/Transforms/Instrumentation/MemorySanitizer.cpp @@ -361,6 +361,9 @@ bool MemorySanitizer::doInitialization(Module &M) { new GlobalVariable(M, IRB.getInt32Ty(), true, GlobalValue::WeakODRLinkage, IRB.getInt32(TrackOrigins), "__msan_track_origins"); + new GlobalVariable(M, IRB.getInt32Ty(), true, GlobalValue::WeakODRLinkage, + IRB.getInt32(ClKeepGoing), "__msan_keep_going"); + return true; } |