• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llvm-pdbutil pdb2yaml -stream-metadata -stream-directory -string-table -pdb-stream \
2; RUN: %p/Inputs/empty.pdb | FileCheck -check-prefix=YAML %s
3; RUN: llvm-pdbutil pdb2yaml -no-file-headers -stream-metadata -stream-directory -pdb-stream \
4; RUN:   %p/Inputs/empty.pdb | FileCheck -check-prefix=NO-HEADERS %s
5
6; YAML:      ---
7; YAML-NEXT: MSF:
8; YAML-NEXT:   SuperBlock:
9; YAML-NEXT:     BlockSize:       4096
10; YAML-NEXT:     FreeBlockMap:     2
11; YAML-NEXT:     NumBlocks:       25
12; YAML-NEXT:     NumDirectoryBytes: 136
13; YAML-NEXT:     Unknown1:        0
14; YAML-NEXT:     BlockMapAddr:    24
15; YAML-NEXT:   NumDirectoryBlocks: 1
16; YAML-NEXT:   DirectoryBlocks: [ 23 ]
17; YAML-NEXT:   NumStreams:      17
18; YAML-NEXT:   FileSize:        102400
19; YAML-NEXT: StreamSizes: [ 40, 118, 5392, 739, 784, 0, 556, 604, 104, 0, 160, 32,
20; YAML-NEXT:                308, 239, 520, 308, 68 ]
21; YAML-NEXT: StreamMap:
22; YAML-NEXT:   - Stream: [ 8 ]
23; YAML-NEXT:   - Stream: [ 19 ]
24; YAML-NEXT:   - Stream: [ 18, 17 ]
25; YAML-NEXT:   - Stream: [ 14 ]
26; YAML-NEXT:   - Stream: [ 20 ]
27; YAML-NEXT:   - Stream: [ ]
28; YAML-NEXT:   - Stream: [ 11 ]
29; YAML-NEXT:   - Stream: [ 13 ]
30; YAML-NEXT:   - Stream: [ 12 ]
31; YAML-NEXT:   - Stream: [ ]
32; YAML-NEXT:   - Stream: [ 10 ]
33; YAML-NEXT:   - Stream: [ 15 ]
34; YAML-NEXT:   - Stream: [ 6 ]
35; YAML-NEXT:   - Stream: [ 16 ]
36; YAML-NEXT:   - Stream: [ 7 ]
37; YAML-NEXT:   - Stream: [ 21 ]
38; YAML-NEXT:   - Stream: [ 22 ]
39; YAML-NEXT: StringTable:
40; YAML-NEXT:   - 'd:\src\llvm\test\debuginfo\pdb\inputs\predefined c++ attributes (compiler internal)'
41; YAML-NEXT:   - 'd:\src\llvm\test\debuginfo\pdb\inputs\empty.cpp'
42; YAML-NEXT:   - '$T0 $ebp = $eip $T0 4 + ^ = $ebp $T0 ^ = $esp $T0 8 + = '
43; YAML-NEXT: PdbStream:
44; YAML-NEXT:   Age:             1
45; YAML-NEXT:   Guid:            '{0B355641-86A0-A249-896F-9988FAE52FF0}'
46; YAML-NEXT:   Signature:       1424295906
47; YAML-NEXT:   Features:        [ VC110 ]
48; YAML-NEXT:   Version:         VC70
49; YAML-NEXT: ...
50
51; NO-HEADERS: ---
52; NO-HEADERS-NOT: MSF:
53; NO-HEADERS-NOT:   SuperBlock:
54; NO-HEADERS: ...