blob: 12469446b2d91cf52c2491408dba3ee5144effdb [file] [log] [blame]
# RUN: llvm-objdump --full-contents %p/Inputs/xcoff-section-headers.o | \
# RUN: FileCheck %s
# CHECK: Inputs/xcoff-section-headers.o: file format aixcoff-rs6000
# CHECK: Contents of section .text:
# CHECK-NEXT: 0000 80620004 80630000 4e800020 00000000 .b...c..N.. ....
# CHECK-NEXT: 0010 00002040 00000001 0000000c 00046675 .. @..........fu
# CHECK-NEXT: 0020 6e630000 00000000 00000000 00000000 nc..............
# CHECK-NEXT: 0030 00000000 00000000 00000000 00000000 ................
# CHECK-NEXT: 0040 00000000 00000000 00000000 00000000 ................
# CHECK-NEXT: 0050 00000000 00000000 00000000 00000000 ................
# CHECK-NEXT: 0060 00000000 00000000 00000000 00000000 ................
# CHECK-NEXT: 0070 00000000 00000000 00000000 00000000 ................
# CHECK-NEXT: Contents of section .data:
# CHECK-NEXT: 0080 00000094 000000a4 000000a0 00000008 ................
# CHECK-NEXT: 0090 00000000 00000000 00000080 00000000 ................
# CHECK-NEXT: 00a0 00003039 ..09
# CHECK-NEXT: Contents of section .bss:
# CHECK-NEXT: <skipping contents of bss section at [00a4, 00a8)>
# CHECK-NEXT: Contents of section .tdata:
# CHECK-NEXT: 0000 400921f9 f01b866e @.!....n
# CHECK-NEXT: Contents of section .tbss:
# CHECK-NEXT: <skipping contents of bss section at [0008, 000c)>
# xcoff-section-headers.o Compiled with IBM XL C/C++ for AIX, V16.1.0
# compiler command: xlc -qtls -o xcoff-section-headers.o -c test.c
# test.c:
# int a;
# int b = 12345;
# __thread int c;
# __thread double d = 3.14159;
#
# int func(void) {
# return a;
# }