[llvm] [llvm-objdump] Print out xcoff file header and load section header for xcoff object file with option private-headers (PR #96350)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 9 01:58:23 PDT 2024


================
@@ -0,0 +1,38 @@
+## Test the --private-headers option for XCOFF object files.
+
+# RUN: yaml2obj -DMAGIC=0x1DF %s -o %t_xcoff32.o
+# RUN: yaml2obj -DMAGIC=0x1F7 %s -o %t_xcoff64.o
+# RUN: llvm-objdump --private-headers %t_xcoff32.o |\
----------------
jh7370 wrote:

Nit: please include a space between `|` and `\`, here and elsewhere.
```suggestion
# RUN: llvm-objdump --private-headers %t_xcoff32.o | \
```

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


More information about the llvm-commits mailing list