36 lines · plain
1# RUN: llvm-objdump --full-contents %p/Inputs/xcoff-section-headers.o | \2# RUN: FileCheck %s3 4# CHECK: Inputs/xcoff-section-headers.o: file format aixcoff-rs60005# CHECK: Contents of section .text:6# CHECK-NEXT: 0000 80620004 80630000 4e800020 00000000 .b...c..N.. ....7# CHECK-NEXT: 0010 00002040 00000001 0000000c 00046675 .. @..........fu8# CHECK-NEXT: 0020 6e630000 00000000 00000000 00000000 nc..............9# CHECK-NEXT: 0030 00000000 00000000 00000000 00000000 ................10# CHECK-NEXT: 0040 00000000 00000000 00000000 00000000 ................11# CHECK-NEXT: 0050 00000000 00000000 00000000 00000000 ................12# CHECK-NEXT: 0060 00000000 00000000 00000000 00000000 ................13# CHECK-NEXT: 0070 00000000 00000000 00000000 00000000 ................14# CHECK-NEXT: Contents of section .data:15# CHECK-NEXT: 0080 00000094 000000a4 000000a0 00000008 ................16# CHECK-NEXT: 0090 00000000 00000000 00000080 00000000 ................17# CHECK-NEXT: 00a0 00003039 ..0918# CHECK-NEXT: Contents of section .bss:19# CHECK-NEXT: <skipping contents of bss section at [00a4, 00a8)>20# CHECK-NEXT: Contents of section .tdata:21# CHECK-NEXT: 0000 400921f9 f01b866e @.!....n22# CHECK-NEXT: Contents of section .tbss:23# CHECK-NEXT: <skipping contents of bss section at [0008, 000c)>24 25# xcoff-section-headers.o Compiled with IBM XL C/C++ for AIX, V16.1.026# compiler command: xlc -qtls -o xcoff-section-headers.o -c test.c27# test.c:28# int a;29# int b = 12345;30# __thread int c;31# __thread double d = 3.14159;32#33# int func(void) {34# return a;35# }36