[lld] [lld] Add target support for SystemZ (s390x) (PR #75643)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 19 17:40:25 PST 2023


================
@@ -0,0 +1,338 @@
+# REQUIRES: systemz
+# RUN: llvm-mc -filetype=obj -triple=s390x-unknown-linux %s -o %t.o
+# RUN: ld.lld --hash-style=sysv -discard-all -shared %t.o -o %t.so
+# RUN: llvm-readobj --file-headers --sections --section-data -l %t.so | FileCheck %s
----------------
MaskRay wrote:

I know that existing `basic-*` use `llvm-readobj`, which has a very verbose output. Consider `llvm-readelf` for new tests

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


More information about the llvm-commits mailing list