[PATCH] D119367: [HWASan] Allow no_sanitize(..) and change metadata passing.
Peter Collingbourne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 11 12:00:15 PST 2022
pcc added a comment.
In addition to the .bc support we will also need support for reading/writing .ll files.
================
Comment at: llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp:1721
-static DenseSet<GlobalVariable *> getExcludedGlobals(Module &M) {
- NamedMDNode *Globals = M.getNamedMetadata("llvm.asan.globals");
- if (!Globals)
----------------
Looks like you'll need to update llvm/test/Instrumentation/HWAddressSanitizer/globals.ll to use the new attribute instead (after adding the .ll support).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119367/new/
https://reviews.llvm.org/D119367
More information about the llvm-commits
mailing list