1 # RUN: llvm-objdump --section-headers %p/Inputs/xcoff-section-headers.o | \
4 # RUN: llvm-objdump --section-headers %p/Inputs/xcoff-long-sec-names.o | \
5 # RUN: FileCheck --check-prefix=LONG %s
7 # RUN: not llvm-objdump --section-headers 2>&1 \
8 # RUN: %p/Inputs/xcoff-section-headers-truncate.o | FileCheck \
9 # RUN: --check-prefix=ERROR %s
11 # ERROR: The end of the file was unexpectedly encountered
13 # CHECK: xcoff-section-headers.o: file format aixcoff-rs6000
15 # CHECK: Idx Name Size VMA Type
16 # CHECK: 0 .text 00000080 00000000 TEXT
17 # CHECK: 1 .data 00000024 00000080 DATA
18 # CHECK: 2 .bss 00000004 000000a4 BSS
19 # CHECK: 3 .tdata 00000008 00000000 DATA
20 # CHECK: 4 .tbss 00000004 00000008 BSS
22 # xcoff-section-headers.o Compiled with IBM XL C/C++ for AIX, V16.1.0
27 # __thread double d = 3.14159;
33 # LONG: xcoff-long-sec-names.o: file format aixcoff-rs6000
35 # LONG: Idx Name Size VMA Type
36 # LONG: 0 .dwarnge 00000004 00000000
37 # LONG: 1 .dwpbnms 00000004 00000000
38 # LONG: 2 .dwpbtyp 00000004 00000000
40 # xcoff-long-sec-names.o was generated by assembling the following .s file:
41 # .dwsect 0x30000 # .dwpbnms section
42 # .dwsect 0x40000 # .dwpbtyp section
43 # .dwsect 0x50000 # .dwarnge section