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

Oliver Stannard via llvm-commits llvm-commits at lists.llvm.org
Thu May 29 06:36:20 PDT 2025


================
@@ -695,7 +701,7 @@ struct Ctx : CommonLinkerContext {
 
   llvm::raw_fd_ostream openAuxiliaryFile(llvm::StringRef, std::error_code &);
 
-  ArrayRef<uint8_t> aarch64PauthAbiCoreInfo;
+  std::optional<AArch64PauthAbiCoreInfo> aarch64PauthAbiCoreInfo;
----------------
ostannard wrote:

What would it point to? Previously, I think they `ArrayRef` pointed into the data in the mmaped input file, but we cam't do that if we're parsing them to integers.

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


More information about the llvm-commits mailing list