File: tpi-bytes.test

package info (click to toggle)
swiftlang 6.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,519,992 kB
  • sloc: cpp: 9,107,863; ansic: 2,040,022; asm: 1,135,751; python: 296,500; objc: 82,456; f90: 60,502; lisp: 34,951; pascal: 19,946; sh: 18,133; perl: 7,482; ml: 4,937; javascript: 4,117; makefile: 3,840; awk: 3,535; xml: 914; fortran: 619; cs: 573; ruby: 573
file content (27 lines) | stat: -rw-r--r-- 1,709 bytes parent folder | download | duplicates (29)
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
; RUN: llvm-pdbutil bytes -type=0x1002 %p/Inputs/empty.pdb | FileCheck --check-prefix=TYPE %s
; RUN: llvm-pdbutil bytes -id=0x1007 %p/Inputs/empty.pdb | FileCheck --check-prefix=ID %s
; RUN: llvm-pdbutil bytes -type=0x2000 %p/Inputs/empty.pdb | FileCheck --check-prefix=INVALID-TYPE %s
; RUN: llvm-pdbutil bytes -id=0x2000 %p/Inputs/empty.pdb | FileCheck --check-prefix=INVALID-ID %s

TYPE:                           Type (TPI) Records
TYPE-NEXT: ============================================================
TYPE-NEXT:   Type 0x1002 (
TYPE-NEXT:     12050: 4A000312 02150300 01006170 6172746D 656E7400 02150300 02007369 6E676C65  |J.........apartment.......single|
TYPE-NEXT:     12070: 00F3F2F1 02150300 03006672 656500F1 02150300 04006E65 75747261 6C00F2F1  |..........free........neutral...|
TYPE-NEXT:     12090: 02150300 0500626F 746800F1                                               |......both..|
TYPE-NEXT:   )

ID:                          Index (IPI) Records
ID-NEXT: ============================================================
ID-NEXT:   Type 0x1007 (
ID-NEXT:     140C4: 2E000516 00000000 643A5C73 72635C6C 6C766D5C 74657374 5C446562 7567496E  |........d:\src\llvm\test\DebugIn|
ID-NEXT:     140E4: 666F5C50 44425C49 6E707574 7300F2F1                                      |fo\PDB\Inputs...|
ID-NEXT:   )

INVALID-TYPE:                           Type (TPI) Records
INVALID-TYPE-NEXT: ============================================================
INVALID-TYPE-NEXT: Error: TypeIndex 0x2000 does not exist

INVALID-ID:                           Index (IPI) Records
INVALID-ID-NEXT: ============================================================
INVALID-ID-NEXT: Error: TypeIndex 0x2000 does not exist