diff options
author | Kostya Serebryany <kcc@google.com> | 2012-10-15 14:20:06 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2012-10-15 14:20:06 +0000 |
commit | ee4edeccabe1854ee895f52d4ac5588bd5f40c80 (patch) | |
tree | 6e22838b1e363549378faf74c27248d9d4bd4f5e /include/llvm | |
parent | d2cd73f6a5103f5de221a67410e35e6bee211fa3 (diff) | |
download | external_llvm-ee4edeccabe1854ee895f52d4ac5588bd5f40c80.zip external_llvm-ee4edeccabe1854ee895f52d4ac5588bd5f40c80.tar.gz external_llvm-ee4edeccabe1854ee895f52d4ac5588bd5f40c80.tar.bz2 |
[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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Instrumentation.h b/include/llvm/Transforms/Instrumentation.h index 4b0c448..8e63aaa 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(); |