[lld] [lld] Refactor storage of PAuth ABI core info (PR #141920)
Peter Smith via llvm-commits
llvm-commits at lists.llvm.org
Fri May 30 02:48:35 PDT 2025
================
@@ -139,6 +139,19 @@ 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 platform;
+ uint64_t version;
+ bool isValid() const { return platform || version; }
----------------
smithp35 wrote:
Could we add a comment:
```
Valid is defined as not the reserved declaration of incompatible with PAuthABI value.
```
https://github.com/llvm/llvm-project/pull/141920
More information about the llvm-commits
mailing list