[lld] lld/AArch64: handle more relocation addends (PR #87328)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 5 13:28:28 PDT 2024


================
@@ -1,8 +1,12 @@
 ## Test certain REL relocation types generated by legacy armasm.
 # RUN: yaml2obj %s -o %t.o
-# RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s
+# RUN: ld.lld %t.o -o %t.out
+# RUN: llvm-objdump -t %t.out | FileCheck %s
----------------
MaskRay wrote:

Link to `%t` and use `llvm-objdump -s %t` to inspect the hexadecimal output.

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


More information about the llvm-commits mailing list