summaryrefslogtreecommitdiff
path: root/include/llvm/Transforms
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2012-11-29 09:57:20 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2012-11-29 09:57:20 +0000
commitaa4f97d6ed9c2b6db6a902d796d86d566c804008 (patch)
tree94cc44438061288c8fdff050dbd877c7b71fc135 /include/llvm/Transforms
parent8b390ffbfdd52a23a45a21de99aa1c31f3ce623f (diff)
downloadllvm-aa4f97d6ed9c2b6db6a902d796d86d566c804008.tar.gz
llvm-aa4f97d6ed9c2b6db6a902d796d86d566c804008.tar.bz2
llvm-aa4f97d6ed9c2b6db6a902d796d86d566c804008.tar.xz
Initial commit of MemorySanitizer.
Compiler pass only. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168866 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms')
-rw-r--r--include/llvm/Transforms/Instrumentation.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Transforms/Instrumentation.h b/include/llvm/Transforms/Instrumentation.h
index e4c60bf8d1..57b6ab3d30 100644
--- a/include/llvm/Transforms/Instrumentation.h
+++ b/include/llvm/Transforms/Instrumentation.h
@@ -36,6 +36,8 @@ ModulePass *createGCOVProfilerPass(bool EmitNotes = true, bool EmitData = true,
// Insert AddressSanitizer (address sanity checking) instrumentation
FunctionPass *createAddressSanitizerFunctionPass();
ModulePass *createAddressSanitizerModulePass();
+// Insert MemorySanitizer instrumentation (detection of uninitialized reads)
+FunctionPass *createMemorySanitizerPass();
// Insert ThreadSanitizer (race detection) instrumentation
FunctionPass *createThreadSanitizerPass();