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

Module-level attributes tend to lead to issues with LTO.  I mean, for 
compiler-generated functions, there's no obvious choice, so we just kind of 
have to pick something.  But for other functions, I think it makes sense to try 
to respect what the user specified for each input module.  That would suggest 
we should emit both a module attribute and a function attribute.

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

Reply via email to