[llvm-dev] Prevent SanitizerCoverage instrumentation of single function

Johan Engelen via llvm-dev llvm-dev at lists.llvm.org
Mon Sep 23 15:01:27 PDT 2019


Hi all,
  How do I prevent Sanitizer Coverage instrumentation of a specific
function? Is there an attribute I can apply onto that function to prevent
it?
I've read the code of `ModuleSanitizerCoverage::instrumentFunction`, and it
looks like there is no way to prevent instrumentation by an attribute.

Thanks for the help,
  Johan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190924/3e34a790/attachment.html>


More information about the llvm-dev mailing list