[llvm] [LLVM] Make sanitizers respect the disable_santizer_instrumentation attribute. (PR #91732)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Mon May 13 04:38:42 PDT 2024


================
@@ -803,6 +803,8 @@ bool GCOVProfiler::emitProfileNotes(
         continue;
       if (F.hasFnAttribute(llvm::Attribute::SkipProfile))
         continue;
+      if (F.hasFnAttribute(llvm::Attribute::DisableSanitizerInstrumentation))
----------------
vitalybuka wrote:

This one is not about sanitizers.

https://github.com/llvm/llvm-project/pull/91732


More information about the llvm-commits mailing list