================ @@ -2287,7 +2297,7 @@ void CodeGenModule::SetLLVMFunctionAttributesForDefinition(const Decl *D, if ((!D || !D->hasAttr<NoUwtableAttr>()) && CodeGenOpts.UnwindTables) B.addUWTableAttr(llvm::UWTableKind(CodeGenOpts.UnwindTables)); - if (CodeGenOpts.StackClashProtector) + if (CodeGenOpts.StackClashProtector && !getTarget().getTriple().isAArch64()) ---------------- momchil-velikov wrote:
A function-level attribute ought to be set by a source-level attribute, something like `__attribute__((probestack),target("probe-size=31416")))` https://github.com/llvm/llvm-project/pull/68993 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits