File: raw-section-data.test

package info (click to toggle)
llvm-toolchain-16 1%3A16.0.6-15~deb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,634,792 kB
  • sloc: cpp: 6,179,261; ansic: 1,216,205; asm: 741,319; python: 196,614; objc: 75,325; f90: 49,640; lisp: 32,396; pascal: 12,286; sh: 9,394; perl: 7,442; ml: 5,494; awk: 3,523; makefile: 2,723; javascript: 1,206; xml: 886; fortran: 581; cs: 573
file content (35 lines) | stat: -rw-r--r-- 1,631 bytes parent folder | download | duplicates (21)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 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;
# }