[PATCH] D54337: [ASan] Make AddressSanitizer a ModulePass
Leonard Chan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 9 11:21:17 PST 2018
leonardchan created this revision.
leonardchan added reviewers: tamur, chandlerc, fedor.sergeev, philip.pfaffe.
leonardchan added a project: Sanitizers.
Herald added a subscriber: hiraditya.
This patch changes AddressSanitizer from a FunctionPass to a ModulePass. The purpose of this is to make it simpler to eventually port this pass to the new pass manager. This change is made so that the logic behind AddressSanitizer can be abstracted out and be used between separate module passes for the legacy and new PM.
This is part of the second attempt of porting ASan to the new PM after https://reviews.llvm.org/D52739.
Other changes:
- Remove the unused DominatorTree dependency
Repository:
rL LLVM
https://reviews.llvm.org/D54337
Files:
clang/lib/CodeGen/BackendUtil.cpp
llvm/bindings/go/llvm/InstrumentationBindings.cpp
llvm/include/llvm/Transforms/Instrumentation.h
llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54337.173390.patch
Type: text/x-patch
Size: 9143 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181109/aa0acc8b/attachment.bin>
More information about the llvm-commits
mailing list