[clang] [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
Mon Apr 6 11:26:52 PDT 2026
================
@@ -753,6 +735,11 @@ class LangOptions : public LangOptionsBase {
return getSignReturnAddressScope() == SignReturnAddressScopeKind::All;
}
+ bool hasSignReturnAddressHardening() const {
+ return getSignReturnAddressHardening() !=
+ SignReturnAddressHardeningKind::None;
+ }
----------------
atrosinenko wrote:
[nit] This method is currently unused. (Just mentioning this in case it was accidentally kept in the final version after removing all its users - feel free to ignore)
https://github.com/llvm/llvm-project/pull/176171
More information about the cfe-commits
mailing list