[cfe-commits] r168782 - /cfe/trunk/lib/CodeGen/BackendUtil.cpp

Kostya Serebryany kcc at google.com
Wed Nov 28 02:32:11 PST 2012


Author: kcc
Date: Wed Nov 28 04:32:11 2012
New Revision: 168782

URL: http://llvm.org/viewvc/llvm-project?rev=168782&view=rev
Log:
[asan] Split AddressSanitizer into two passes (FunctionPass, ModulePass), Clang part.

Modified:
    cfe/trunk/lib/CodeGen/BackendUtil.cpp

Modified: cfe/trunk/lib/CodeGen/BackendUtil.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/BackendUtil.cpp?rev=168782&r1=168781&r2=168782&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/BackendUtil.cpp (original)
+++ cfe/trunk/lib/CodeGen/BackendUtil.cpp Wed Nov 28 04:32:11 2012
@@ -159,7 +159,8 @@
 
 static void addAddressSanitizerPass(const PassManagerBuilder &Builder,
                                     PassManagerBase &PM) {
-  PM.add(createAddressSanitizerPass());
+  PM.add(createAddressSanitizerFunctionPass());
+  PM.add(createAddressSanitizerModulePass());
 }
 
 static void addThreadSanitizerPass(const PassManagerBuilder &Builder,





More information about the cfe-commits mailing list