[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
Mon Apr 14 02:37:35 PDT 2025
================
@@ -547,15 +749,44 @@ template <class ELFT> void ObjFile<ELFT>::parse(bool ignoreComdats) {
initializeSymbols(obj);
return;
}
-
// Handle dependent libraries and selection of section groups as these are not
// done in parallel.
ArrayRef<Elf_Shdr> objSections = getELFShdrs<ELFT>();
StringRef shstrtab = CHECK2(obj.getSectionStringTable(objSections), this);
uint64_t size = objSections.size();
sections.resize(size);
+
+ // For handling AArch64 Build attributes and GNU properties
+ AArch64BuildAttrSubsections aarch64BAsubSections;
+ gnuPropertiesInfo gnuPropertiesInformation;
+ bool hasAArch64BuildAttributes = false;
+ bool hasGNUProperties = false;
+
for (size_t i = 0; i != size; ++i) {
const Elf_Shdr &sec = objSections[i];
+
----------------
sivan-shani wrote:
done
https://github.com/llvm/llvm-project/pull/131990
More information about the llvm-commits
mailing list