diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2014-03-18 08:29:42 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2014-03-18 08:29:42 +0000 |
commit | dba42d66523279df6390ae0b414c5e61ce2b542d (patch) | |
tree | 802418b88784ed4e3c9aadbd7467367f3263fb17 /llvm/lib/Transforms | |
parent | 24c833e1a4d6581ecbbde735103d9bfa39b87b23 (diff) | |
download | bcm5719-llvm-dba42d66523279df6390ae0b414c5e61ce2b542d.tar.gz bcm5719-llvm-dba42d66523279df6390ae0b414c5e61ce2b542d.zip |
[msan] Remove unused code.
llvm-svn: 204125
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp b/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp index 08f17de9ee0..7b966565f05 100644 --- a/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp +++ b/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp @@ -249,8 +249,6 @@ class MemorySanitizer : public FunctionPass { /// \brief The run-time callback to print a warning. Value *WarningFn; - /// \brief Run-time helper that copies origin info for a memory range. - Value *MsanCopyOriginFn; /// \brief Run-time helper that generates a new origin value for a stack /// allocation. Value *MsanSetAllocaOrigin4Fn; @@ -324,9 +322,6 @@ void MemorySanitizer::initializeCallbacks(Module &M) { : "__msan_warning_noreturn"; WarningFn = M.getOrInsertFunction(WarningFnName, IRB.getVoidTy(), NULL); - MsanCopyOriginFn = M.getOrInsertFunction( - "__msan_copy_origin", IRB.getVoidTy(), IRB.getInt8PtrTy(), - IRB.getInt8PtrTy(), IntptrTy, NULL); MsanSetAllocaOrigin4Fn = M.getOrInsertFunction( "__msan_set_alloca_origin4", IRB.getVoidTy(), IRB.getInt8PtrTy(), IntptrTy, IRB.getInt8PtrTy(), IntptrTy, NULL); |