[clang] [llvm] Disable PGO instrumentation on naked function (PR #75224)

via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 12 11:57:14 PST 2023


================
@@ -892,6 +892,10 @@ void CodeGenFunction::StartFunction(GlobalDecl GD, QualType RetTy,
     }
   }
 
+  if (FD->hasAttr<NakedAttr>()) {
----------------
serge-sans-paille wrote:

not at all, that was a leftover, sorry about that.

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


More information about the cfe-commits mailing list