[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
Wed Apr 16 02:37:26 PDT 2025


================
@@ -657,6 +847,14 @@ template <class ELFT> void ObjFile<ELFT>::parse(bool ignoreComdats) {
     }
   }
 
+  bool isBE = ELFT::Endianness == llvm::endianness::big;
----------------
sivan-shani wrote:

Good idea. Even though there are proper 'if' inside the function to ensure functionality only when needed, it is good to check if it is required before entering it.

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


More information about the llvm-commits mailing list