[clang] [llvm] [Clang][AArch64] Command-line options for A-profile's Sign Return Address Hardening (PR #176171)

Anatoly Trosinenko via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 8 12:06:50 PDT 2026


================
@@ -170,6 +170,11 @@ Makes programs 10x faster by doing Special New Thing.
 
 ### Changes to the AArch64 Backend
 
+* Added support for hardening return address signing against PACMAN attacks.
+  Functions with the `"sign-return-address-harden"="load-return-address"`
+  attribute perform a load of the return address before returning, reducing the
----------------
atrosinenko wrote:

[nit] "load **from** the return address"

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


More information about the cfe-commits mailing list