[PATCH] D76665: [asan] Stop instrumenting user-defined ELF sections
Alexander Potapenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 16 01:04:28 PDT 2020
glider added inline comments.
================
Comment at: llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp:1880
+ // Do not instrument user-defined sections (with names resembling
+ // valid C identifiers)
+ if (TargetTriple.isOSBinFormatELF()) {
----------------
Drive-by comment: if we don't instrument sections with names resembling valid C identifiers, then there should be a test checking that we instrument a section with a name that's an invalid identifier.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76665/new/
https://reviews.llvm.org/D76665
More information about the llvm-commits
mailing list