[PATCH] D61709: [NewPM] Port HWASan
Leonard Chan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 8 17:46:55 PDT 2019
leonardchan created this revision.
leonardchan added reviewers: philip.pfaffe, fedor.sergeev, chandlerc, phosek.
leonardchan added projects: LLVM, clang.
Herald added subscribers: hiraditya, srhines.
Port hardware assisted address sanitizer to new PM following the same guidelines as msan and tsan.
Changes:
- Separate `HWAddressSanitizer` into a pass class and a sanitizer class.
- Create new PM wrapper pass for the sanitizer class.
- Use the `getOrINsert` pattern for some module level initialization declarations.
- Update llvm tests and add clang test.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D61709
Files:
clang/lib/CodeGen/BackendUtil.cpp
clang/test/CodeGen/hwasan-new-pm.c
llvm/include/llvm/InitializePasses.h
llvm/include/llvm/Transforms/Instrumentation.h
llvm/include/llvm/Transforms/Instrumentation/HWAddressSanitizer.h
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Passes/PassRegistry.def
llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
llvm/lib/Transforms/Instrumentation/Instrumentation.cpp
llvm/test/Instrumentation/HWAddressSanitizer/basic.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61709.198748.patch
Type: text/x-patch
Size: 18584 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190509/653a1592/attachment-0001.bin>
More information about the cfe-commits
mailing list