[lld] [llvm] [lld][AArch64][Build Attributes] Add support for AArch64 Build Attributes (PR #144082)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 4 12:23:54 PDT 2025


================
@@ -655,6 +721,13 @@ template <class ELFT> void ObjFile<ELFT>::parse(bool ignoreComdats) {
     }
   }
 
+  if (hasAArch64BuildAttributes) {
+    // Handle AArch64 Build Attributes and GNU properties:
----------------
MaskRay wrote:

Move the comment outside the `if` and then delete the braces (single-line simple statement doesn't need braces)

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


More information about the llvm-commits mailing list