summaryrefslogtreecommitdiff
path: root/include/llvm
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2012-10-15 14:20:06 +0000
committerKostya Serebryany <kcc@google.com>2012-10-15 14:20:06 +0000
commitee4edeccabe1854ee895f52d4ac5588bd5f40c80 (patch)
tree6e22838b1e363549378faf74c27248d9d4bd4f5e /include/llvm
parentd2cd73f6a5103f5de221a67410e35e6bee211fa3 (diff)
downloadllvm-ee4edeccabe1854ee895f52d4ac5588bd5f40c80.tar.gz
llvm-ee4edeccabe1854ee895f52d4ac5588bd5f40c80.tar.bz2
llvm-ee4edeccabe1854ee895f52d4ac5588bd5f40c80.tar.xz
[asan] make AddressSanitizer to be a FunctionPass instead of ModulePass. This will simplify chaining other FunctionPasses with asan. Also some minor cleanup
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165936 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Transforms/Instrumentation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Instrumentation.h b/include/llvm/Transforms/Instrumentation.h
index 4b0c448acf..8e63aaa4e8 100644
--- a/include/llvm/Transforms/Instrumentation.h
+++ b/include/llvm/Transforms/Instrumentation.h
@@ -34,7 +34,7 @@ ModulePass *createGCOVProfilerPass(bool EmitNotes = true, bool EmitData = true,
bool UseExtraChecksum = false);
// Insert AddressSanitizer (address sanity checking) instrumentation
-ModulePass *createAddressSanitizerPass();
+FunctionPass *createAddressSanitizerPass();
// Insert ThreadSanitizer (race detection) instrumentation
FunctionPass *createThreadSanitizerPass();