[lld] [lld][GNU Properties] Refactor storage of PAuth ABI core info (PR #141920)
Peter Smith via llvm-commits
llvm-commits at lists.llvm.org
Thu May 29 06:49:22 PDT 2025
================
@@ -2921,12 +2923,25 @@ static void readSecurityNotes(Ctx &ctx) {
continue;
}
- if (ctx.aarch64PauthAbiCoreInfo != f->aarch64PauthAbiCoreInfo)
- Err(ctx) << "incompatible values of AArch64 PAuth core info found\n>>> "
+ if (ctx.aarch64PauthAbiCoreInfo->aarch64PauthAbiPlatform !=
----------------
smithp35 wrote:
I'd personally go with defining an operator != on the aarch64PauthAbiPlatform and just having a single error message like the original. This should keep the size of the code changes small.
Not a strong opinion though.
https://github.com/llvm/llvm-project/pull/141920
More information about the llvm-commits
mailing list