diff options
author | Alexey Samsonov <samsonov@google.com> | 2013-01-17 11:12:32 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2013-01-17 11:12:32 +0000 |
commit | 11af9a873f9e1409a422ab31e22729368805afaf (patch) | |
tree | 7b909e70184480dda6fd86e767b48aedd27044f5 /include | |
parent | 6c327f92a562d9d280bdbc3bde3c0ce269a4c65c (diff) | |
download | external_llvm-11af9a873f9e1409a422ab31e22729368805afaf.zip external_llvm-11af9a873f9e1409a422ab31e22729368805afaf.tar.gz external_llvm-11af9a873f9e1409a422ab31e22729368805afaf.tar.bz2 |
ASan: add optional 'zero-based shadow' option to ASan passes. Always tell the values of shadow scale and offset to the runtime
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172709 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Transforms/Instrumentation.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/llvm/Transforms/Instrumentation.h b/include/llvm/Transforms/Instrumentation.h index 5504dc9..fed92c8 100644 --- a/include/llvm/Transforms/Instrumentation.h +++ b/include/llvm/Transforms/Instrumentation.h @@ -39,9 +39,11 @@ ModulePass *createGCOVProfilerPass(bool EmitNotes = true, bool EmitData = true, // Insert AddressSanitizer (address sanity checking) instrumentation FunctionPass *createAddressSanitizerFunctionPass( bool CheckInitOrder = false, bool CheckUseAfterReturn = false, - bool CheckLifetime = false, StringRef BlacklistFile = StringRef()); + bool CheckLifetime = false, StringRef BlacklistFile = StringRef(), + bool ZeroBaseShadow = false); ModulePass *createAddressSanitizerModulePass( - bool CheckInitOrder = false, StringRef BlacklistFile = StringRef()); + bool CheckInitOrder = false, StringRef BlacklistFile = StringRef(), + bool ZeroBaseShadow = false); // Insert MemorySanitizer instrumentation (detection of uninitialized reads) FunctionPass *createMemorySanitizerPass(bool TrackOrigins = false, |