[lld] [llvm] [lld][AArch64][Build Attributes] Add support for AArch64 Build Attributes (PR #144082)
Peter Smith via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 18 07:58:06 PDT 2025
================
@@ -0,0 +1,50 @@
+// REQUIRES: aarch64
+// RUN: llvm-mc -triple=aarch64_be %s -filetype=obj -o %t.o
+// RUN: ld.lld %t.o --shared -o %t.so
+// RUN: llvm-readelf -n %t.so | FileCheck %s --check-prefix=NOTE
+
+/// The Build attributes section appearing in the output of
----------------
smithp35 wrote:
I recommend moving that to just before `NOTE`
For the comment. I think the purpose of the test is to check lld can handle both little and big endian encoding? Perhaps something like
/// Test that lld can read both little and big-endian build-attributes.
https://github.com/llvm/llvm-project/pull/144082
More information about the llvm-commits
mailing list