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

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 23 09:44:32 PDT 2025


================
@@ -537,6 +538,41 @@ uint32_t ObjFile<ELFT>::getSectionIndex(const Elf_Sym &sym) const {
       this);
 }
 
+template <class ELFT>
+static void
+handleAArch64BAAndGnuProperties(ObjFile<ELFT> *file, Ctx &ctx,
+                                const AArch64BuildAttrSubsections &baInfo) {
+  if (file->aarch64PauthAbiCoreInfo) {
+    // Check for data mismatch
----------------
MaskRay wrote:

`// Check for data mismatch.`

End complete sentences with a full stop. LLD maintains this more rigidly.

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


More information about the llvm-commits mailing list