[PATCH] D109816: [hwasan] also omit safe mem[cpy|mov|set].
Evgenii Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 15 16:06:31 PDT 2021
eugenis added inline comments.
================
Comment at: llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp:976
+ if (isa<MemTransferInst>(MI)) {
+ return (!ClInstrumentWrites || ignoreAccess(MI, MI->getOperand(0))) &&
+ (!ClInstrumentReads || ignoreAccess(MI, MI->getOperand(1)));
----------------
Consider getDest / getSource for readability.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109816/new/
https://reviews.llvm.org/D109816
More information about the llvm-commits
mailing list