[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


================
@@ -139,6 +140,11 @@ enum class GcsPolicy { Implicit, Never, Always };
 // For some options that resemble -z bti-report={none,warning,error}
 enum class ReportPolicy { None, Warning, Error };
 
+struct AArch64PauthAbiCoreInfo {
+  uint64_t aarch64PauthAbiPlatform;
----------------
smithp35 wrote:

The GNU properties have fixed uint64_t fields in the SHT_NOTE section, so while unlikely it is theoretically possible we'd get numbers that high.

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


More information about the llvm-commits mailing list