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

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 15 09:40:15 PDT 2025


================
@@ -918,101 +1116,6 @@ void ObjFile<ELFT>::initializeSections(bool ignoreComdats,
     handleSectionGroup<ELFT>(this->sections, entries);
 }
 
-template <typename ELFT>
-static void parseGnuPropertyNote(Ctx &ctx, ELFFileBase &f,
----------------
MaskRay wrote:

Can you revert the function move to make the code change clearer? If a previous function needs to call a function that transitively calls `parseGnuPropertyNote`, you might add a forward declaration for now.

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


More information about the llvm-commits mailing list