[lld] [llvm] [lld][AArch64][Build Attributes] Add support for AArch64 Build Attributes (PR #144082)
Peter Smith via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 3 06:05:15 PDT 2025
================
@@ -537,6 +538,52 @@ uint32_t ObjFile<ELFT>::getSectionIndex(const Elf_Sym &sym) const {
this);
}
+template <class ELFT>
+static void
+handleAArch64BAAndGnuProperties(ObjFile<ELFT> *file, Ctx &ctx, bool hasGP,
+ const AArch64BuildAttrSubsections &baInfo,
+ const GnuPropertiesInfo &gpInfo) {
----------------
smithp35 wrote:
They are only assigned when `hasGP` is false, and gpInfo is not used to do the assigning, only baInfo.
I'm talking about the case when `hasGP` is true, and we check that `gpInfo` matches the `baInfo`. In this case can we just check the `baInfo` against the file?
https://github.com/llvm/llvm-project/pull/144082
More information about the llvm-commits
mailing list