File: sections-trailing-func.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 (15 lines) | stat: -rw-r--r-- 690 bytes parent folder | download | duplicates (25)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Test handling of a (valid) breakpad file, which ends with a line without a
# recognised keyword.

RUN: lldb-test object-file %p/Inputs/sections-trailing-func.syms -contents | FileCheck %s

CHECK: Showing 4 sections

CHECK:       ID: 0x4
CHECK-NEXT:  Name: FUNC
CHECK:       File size: 66
CHECK-NEXT:  Data:  (
CHECK-NEXT:      0000: 46554E43 20313031 30203130 2030205F 73746172 740A3130 31302034 20342030  |FUNC 1010 10 0 _start.1010 4 4 0|
CHECK-NEXT:      0020: 0A313031 34203520 3520300A 31303139 20352036 20300A31 30316520 32203720  |.1014 5 5 0.1019 5 6 0.101e 2 7 |
CHECK-NEXT:      0040: 300A                                                                     |0.|
CHECK-NEXT:  )