summaryrefslogtreecommitdiff
path: root/include/llvm/Transforms/Instrumentation.h
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2011-11-16 01:35:23 +0000
committerKostya Serebryany <kcc@google.com>2011-11-16 01:35:23 +0000
commit800e03f59896ef4b26d988f1878370bb5aeec0d8 (patch)
tree3753819241e0e363630e1ccf6b5797b2cad50836 /include/llvm/Transforms/Instrumentation.h
parent8a2549febcc4e09f5573c57e10c580586d005447 (diff)
downloadllvm-800e03f59896ef4b26d988f1878370bb5aeec0d8.tar.gz
llvm-800e03f59896ef4b26d988f1878370bb5aeec0d8.tar.bz2
llvm-800e03f59896ef4b26d988f1878370bb5aeec0d8.tar.xz
AddressSanitizer, first commit (compiler module only)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144758 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Instrumentation.h')
-rw-r--r--include/llvm/Transforms/Instrumentation.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Transforms/Instrumentation.h b/include/llvm/Transforms/Instrumentation.h
index 8d552317f2..f9b962387d 100644
--- a/include/llvm/Transforms/Instrumentation.h
+++ b/include/llvm/Transforms/Instrumentation.h
@@ -31,6 +31,9 @@ ModulePass *createPathProfilerPass();
ModulePass *createGCOVProfilerPass(bool EmitNotes = true, bool EmitData = true,
bool Use402Format = false);
+// Insert AddressSanitizer (address sanity checking) instrumentation
+ModulePass *createAddressSanitizerPass();
+
} // End llvm namespace
#endif