diff options
author | Kostya Serebryany <kcc@google.com> | 2012-11-28 10:31:36 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2012-11-28 10:31:36 +0000 |
commit | 1416edc30adbd53b2be863f7f3de56de4a4c9d0a (patch) | |
tree | 437a09f45ab8628db889db6f1ba9e7515dc1d970 /include/llvm/Transforms | |
parent | 3defc0bfa600cc253f0cba0fe781aa49435d968a (diff) | |
download | llvm-1416edc30adbd53b2be863f7f3de56de4a4c9d0a.tar.gz llvm-1416edc30adbd53b2be863f7f3de56de4a4c9d0a.tar.bz2 llvm-1416edc30adbd53b2be863f7f3de56de4a4c9d0a.tar.xz |
[asan] Split AddressSanitizer into two passes (FunctionPass, ModulePass), LLVM part. This requires a clang part which will follow.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168781 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms')
-rw-r--r-- | include/llvm/Transforms/Instrumentation.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Instrumentation.h b/include/llvm/Transforms/Instrumentation.h index 3558251a43..e4c60bf8d1 100644 --- a/include/llvm/Transforms/Instrumentation.h +++ b/include/llvm/Transforms/Instrumentation.h @@ -34,7 +34,8 @@ ModulePass *createGCOVProfilerPass(bool EmitNotes = true, bool EmitData = true, bool UseExtraChecksum = false); // Insert AddressSanitizer (address sanity checking) instrumentation -FunctionPass *createAddressSanitizerPass(); +FunctionPass *createAddressSanitizerFunctionPass(); +ModulePass *createAddressSanitizerModulePass(); // Insert ThreadSanitizer (race detection) instrumentation FunctionPass *createThreadSanitizerPass(); |