[llvm] enable file-headers option of llvm-objdump for XCOFF object files (PR #96104)
zhijian lin via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 20 06:32:12 PDT 2024
================
@@ -0,0 +1,21 @@
+# Test the `--file-headers` option of llvm-objdump for XCOFF object files.
+# RUN: yaml2obj %s -o %t1
+# RUN: llvm-objdump --file-headers %t1 | FileCheck %s --check-prefix=CHECK32
+# RUN: yaml2obj %s -DMAGIC=0x1F7 -DFLAG64=0x2 -o %t2
+# RUN: llvm-objdump --file-headers %t2 | FileCheck %s --check-prefix=CHECK64
----------------
diggerlin wrote:
thanks
https://github.com/llvm/llvm-project/pull/96104
More information about the llvm-commits
mailing list