[lld] [lld] Refactor storage of PAuth ABI core info (PR #141920)

via llvm-commits llvm-commits at lists.llvm.org
Thu May 29 09:19:51 PDT 2025


================
@@ -961,7 +961,11 @@ static void parseGnuPropertyNote(Ctx &ctx, ELFFileBase &f,
                        "is invalid: expected 16 bytes, but got "
                     << size);
       }
-      f.aarch64PauthAbiCoreInfo = desc;
+      f.aarch64PauthAbiCoreInfo.emplace();
----------------
sivan-shani wrote:

Adding direct assignment ans `valid()` member function. 

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


More information about the llvm-commits mailing list