[llvm] [clang][AArch64] Pass down stack clash protection options to LLVM/Backend (PR #68993)

Momchil Velikov via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 13 07:24:59 PDT 2023


================
@@ -1076,6 +1076,16 @@ void CodeGenModule::Release() {
                                 "sign-return-address-with-bkey", 1);
   }
 
+  if (Arch == llvm::Triple::aarch64 || Arch == llvm::Triple::aarch64_be) {
----------------
momchil-velikov wrote:

Stack probing needs to be enabled by module-level attributes or it won't have effect in LLVM generated functions.

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


More information about the llvm-commits mailing list