[PATCH] D61709: [NewPM] Port HWASan
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 8 23:24:13 PDT 2019
phosek added inline comments.
================
Comment at: clang/lib/CodeGen/BackendUtil.cpp:956
+
+ if (LangOpts.Sanitize.has(SanitizerKind::HWAddress)) {
+ bool Recover = CodeGenOpts.SanitizeRecover.has(SanitizerKind::HWAddress);
----------------
Can you also add `KernelHWAddress` (akin to D61664).
================
Comment at: llvm/lib/Passes/PassRegistry.def:238
FUNCTION_PASS("asan", AddressSanitizerPass(false, false, false))
+FUNCTION_PASS("hwasan", HWAddressSanitizerPass(false, false))
FUNCTION_PASS("msan", MemorySanitizerPass({}))
----------------
ditto here for KHWASan
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61709/new/
https://reviews.llvm.org/D61709
More information about the llvm-commits
mailing list