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

via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 20 06:39:14 PDT 2025


================
@@ -0,0 +1,148 @@
+
+### This file replace .note.gnu.property with aarch64 build attributes in order to confirm
+### interoperability.
+### (Still using gnu properties in the helper files)
+
+# REQUIRES: aarch64
+# RUN: llvm-mc -filetype=obj -triple=aarch64-linux-gnu %s -o %t.o
+# RUN: llvm-mc -filetype=obj -triple=aarch64-linux-gnu %p/Inputs/aarch64-pac1.s -o %t1.o
----------------
sivan-shani wrote:

`split-file` cause an issue.
Since both files defines `func3`, we get:
> ld.lld: error: duplicate symbol: func3
When the entire file is being compiled.
This could be the reason that originally external files were used.

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


More information about the llvm-commits mailing list