[lld] [llvm] [lld][AArch64][Build Attributes] Add support for AArch64 Build Attributes (PR #147970)
Peter Smith via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 15 06:02:04 PDT 2025
================
@@ -775,6 +821,27 @@ void ObjFile<ELFT>::initializeSections(bool ignoreComdats,
continue;
}
+ // Extract Build Attributes section contents into aarch64BAsubSections.
+ // Input objects may contain both build Build Attributes and GNU
+ // properties. We delay processing Build Attributes until we have finished
+ // reading all sections so that we can check that these are consistent.
+ // FIXME: This really belongs in the following switch, but due to the
----------------
smithp35 wrote:
FIXME is a bit strong here as I don't think it can be cleanly fixed without C++ getting Rust style match statements. I'd reword as "Ideally this belongs in the following switch, ..."
https://github.com/llvm/llvm-project/pull/147970
More information about the llvm-commits
mailing list