[lld] [lld][GNU Properties] Refactor storage of PAuth ABI core info (PR #141920)
via llvm-commits
llvm-commits at lists.llvm.org
Thu May 29 06:25:16 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;
----------------
sivan-shani wrote:
The PAuth ABI spec defines both Platform Identifier and Version Number as 64-bit values:
https://github.com/ARM-software/abi-aa/blob/main/pauthabielf64/pauthabielf64.rst#core-information
While the actual values may use fewer bits in practice, using uint64_t is necessary to match the specification.
https://github.com/llvm/llvm-project/pull/141920
More information about the llvm-commits
mailing list