[llvm] [clang] Disable PGO instrumentation on naked function (PR #75224)
Teresa Johnson via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 12 09:43:07 PST 2023
================
@@ -892,6 +892,10 @@ void CodeGenFunction::StartFunction(GlobalDecl GD, QualType RetTy,
}
}
+ if (FD->hasAttr<NakedAttr>()) {
----------------
teresajohnson wrote:
Is this change needed given the separate change in LLVM skipPGOGen?
https://github.com/llvm/llvm-project/pull/75224
More information about the cfe-commits
mailing list