[PATCH] D52739: [PassManager/Sanitizer] Port of AddresSanitizer pass from legacy to new PassManager
Leonard Chan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 1 11:41:19 PDT 2018
leonardchan created this revision.
leonardchan added reviewers: phosek, mcgrathr, fedor.sergeev, philip.pfaffe, vitalybuka.
leonardchan added a project: Sanitizers.
Herald added a subscriber: llvm-commits.
This patch ports the legacy pass manager to the new one to take advantage of the benefits of the new PM. This involved moving a lot of the declarations for `AddressSantizer` to a header so that it can be publicly used via PassRegistry.def which I believe contains all the passes managed by the new PM.
This patch essentially decouples the instrumentation from the legacy PM such that it can be used by both legacy and new PM infrastructure.
Repository:
rL LLVM
https://reviews.llvm.org/D52739
Files:
include/llvm/IR/AddressSanitizerPass.h
include/llvm/InitializePasses.h
lib/Passes/PassBuilder.cpp
lib/Passes/PassRegistry.def
lib/Transforms/Instrumentation/AddressSanitizer.cpp
lib/Transforms/Instrumentation/Instrumentation.cpp
test/Instrumentation/AddressSanitizer/basic.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52739.167789.patch
Type: text/x-patch
Size: 46919 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181001/ad5ecedc/attachment.bin>
More information about the llvm-commits
mailing list