[PATCH] D112732: [ASan] Removed AddressSanitizerPass function pass class and rolled it into the module pass for the new pass mangager only.
Kirill Stoimenov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 1 16:40:08 PDT 2021
kstoimenov added inline comments.
================
Comment at: llvm/include/llvm/Transforms/Instrumentation/AddressSanitizer.h:92
-struct AddressSanitizerOptions {
- AddressSanitizerOptions()
----------------
vitalybuka wrote:
> Why do we need to remove AddressSanitizerOptions?
Adding it back in as discussed offline.
================
Comment at: llvm/lib/Passes/PassRegistry.def:139
"kernel;recover")
MODULE_PASS_WITH_PARAMS("asan-module",
"ModuleAddressSanitizerPass",
----------------
vitalybuka wrote:
> And I guess now we need to use parseASanPassOptions here?
I must have reverted by an accident. Should be done now.
================
Comment at: llvm/lib/Passes/PassRegistry.def:146
},
parseModuleAddressSanitizerPassOptions,
"kernel")
----------------
I think parseModuleAddressSanitizerPassOptions does exactly the same thing as parseASanPassOptions, which is to look for the "kernel" param.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112732/new/
https://reviews.llvm.org/D112732
More information about the cfe-commits
mailing list