[lld] [llvm] [lld][AArch64][Build Attributes] Add support for converting AArch64 Build Attributes to GNU Properties (PR #131990)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 8 07:31:47 PDT 2025
================
@@ -207,6 +209,53 @@ static void updateSupportedARMFeatures(Ctx &ctx,
ctx.arg.armHasThumb2ISA |= thumb && *thumb >= ARMBuildAttrs::AllowThumb32;
}
+struct KnownAArch64BuildAttrSubsections {
+ struct PauthSubSection {
+ unsigned tagPlatform = 0;
+ unsigned tagSchema = 0;
+ } pauth;
+ struct FAndBSubSection {
+ unsigned tagBTI = 0;
+ unsigned tagPAC = 0;
+ unsigned tagGCS = 0;
+ } fAndB;
+};
+
+static KnownAArch64BuildAttrSubsections
+extractBuildAttributesSubsections(Ctx &ctx,
----------------
sivan-shani wrote:
Removed, still this function and the struct help to make things compact and nit so I happy to keep them.
https://github.com/llvm/llvm-project/pull/131990
More information about the llvm-commits
mailing list