[lld] [llvm] [lld][AArch64][Build Attributes] Add support for converting AArch64 Build Attributes to GNU Properties (PR #131990)

Peter Smith via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 11 10:23:25 PDT 2025


================
@@ -207,6 +209,51 @@ static void updateSupportedARMFeatures(Ctx &ctx,
   ctx.arg.armHasThumb2ISA |= thumb && *thumb >= ARMBuildAttrs::AllowThumb32;
 }
 
+struct AArch64BuildAttrSubsections {
+  struct PauthSubSection {
+    unsigned tagPlatform = 0;
----------------
smithp35 wrote:

The PauthSubSection as modelled could go up to 64-bits in size (unlikely, but possible), yet `unsigned` has a platform dependent size (often 32-bit). This should be a `uint64_t`.

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


More information about the llvm-commits mailing list