File: section-contents.test

package info (click to toggle)
llvm-toolchain-11 1%3A11.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 995,808 kB
  • sloc: cpp: 4,767,656; ansic: 760,916; asm: 477,436; python: 170,940; objc: 69,804; lisp: 29,914; sh: 23,855; f90: 18,173; pascal: 7,551; perl: 7,471; ml: 5,603; awk: 3,489; makefile: 2,573; xml: 915; cs: 573; fortran: 503; javascript: 452
file content (17 lines) | stat: -rw-r--r-- 964 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
RUN: llvm-objdump --macho -s %p/Inputs/hello.obj.macho-x86_64 | FileCheck %s

CHECK: Contents of section __text:
CHECK:  0000 554889e5 4883ec20 488d0500 000000c7  UH..H.. H.......
CHECK:  0010 45fc0000 0000897d f8488975 f0488955  E......}.H.u.H.U
CHECK:  0020 e84889c7 b000e800 000000b9 00000000  .H..............
CHECK:  0030 8945e489 c84883c4 205dc3             .E...H.. ].
CHECK: Contents of section __cstring:
CHECK:  003b 48656c6c 6f20776f 726c640a 00        Hello world..
CHECK: Contents of section __compact_unwind:
CHECK:  0048 00000000 00000000 3b000000 00000001  ........;.......
CHECK:  0058 00000000 00000000 00000000 00000000  ................
CHECK: Contents of section __eh_frame:
CHECK:  0068 14000000 00000000 017a5200 01781001  .........zR..x..
CHECK:  0078 100c0708 90010000 24000000 1c000000  ........$.......
CHECK:  0088 78ffffff ffffffff 3b000000 00000000  x.......;.......
CHECK:  0098 00410e10 8602430d 06000000 00000000  .A....C.........