projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfe9e79
)
[asan] Split AddressSanitizer into two passes (FunctionPass, ModulePass), Clang part.
author
Kostya Serebryany
<kcc@google.com>
Wed, 28 Nov 2012 10:32:11 +0000
(10:32 +0000)
committer
Kostya Serebryany
<kcc@google.com>
Wed, 28 Nov 2012 10:32:11 +0000
(10:32 +0000)
llvm-svn: 168782
clang/lib/CodeGen/BackendUtil.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/CodeGen/BackendUtil.cpp
b/clang/lib/CodeGen/BackendUtil.cpp
index
076b279
..
d54ed22
100644
(file)
--- a/
clang/lib/CodeGen/BackendUtil.cpp
+++ b/
clang/lib/CodeGen/BackendUtil.cpp
@@
-159,7
+159,8
@@
static void addBoundsCheckingPass(const PassManagerBuilder &Builder,
static void addAddressSanitizerPass(const PassManagerBuilder &Builder,
PassManagerBase &PM) {
- PM.add(createAddressSanitizerPass());
+ PM.add(createAddressSanitizerFunctionPass());
+ PM.add(createAddressSanitizerModulePass());
}
static void addThreadSanitizerPass(const PassManagerBuilder &Builder,