1; RUN: llvm-pdbdump pdb2yaml -stream-metadata -stream-directory -pdb-stream %p/Inputs/empty.pdb \
2; RUN:   | FileCheck -check-prefix=YAML %s
3; RUN: llvm-pdbdump 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:     Unknown0:        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:   BlockMapOffset:  98304
17; YAML-NEXT:   DirectoryBlocks:
18; YAML-NEXT:     - 23
19; YAML-NEXT:   NumStreams:      17
20; YAML-NEXT:   FileSize:        102400
21; YAML-NEXT: StreamSizes:
22; YAML-NEXT:   - 40
23; YAML-NEXT:   - 118
24; YAML-NEXT:   - 5392
25; YAML-NEXT:   - 739
26; YAML-NEXT:   - 784
27; YAML-NEXT:   - 0
28; YAML-NEXT:   - 556
29; YAML-NEXT:   - 604
30; YAML-NEXT:   - 104
31; YAML-NEXT:   - 0
32; YAML-NEXT:   - 160
33; YAML-NEXT:   - 32
34; YAML-NEXT:   - 308
35; YAML-NEXT:   - 239
36; YAML-NEXT:   - 520
37; YAML-NEXT:   - 308
38; YAML-NEXT:   - 68
39; YAML-NEXT: StreamMap:
40; YAML-NEXT:   - Stream:
41; YAML-NEXT:       - 8
42; YAML-NEXT:   - Stream:
43; YAML-NEXT:       - 19
44; YAML-NEXT:   - Stream:
45; YAML-NEXT:       - 18
46; YAML-NEXT:       - 17
47; YAML-NEXT:   - Stream:
48; YAML-NEXT:       - 14
49; YAML-NEXT:   - Stream:
50; YAML-NEXT:       - 20
51; YAML-NEXT:   - Stream:
52; YAML-NEXT:   - Stream:
53; YAML-NEXT:       - 11
54; YAML-NEXT:   - Stream:
55; YAML-NEXT:       - 13
56; YAML-NEXT:   - Stream:
57; YAML-NEXT:       - 12
58; YAML-NEXT:   - Stream:
59; YAML-NEXT:   - Stream:
60; YAML-NEXT:       - 10
61; YAML-NEXT:   - Stream:
62; YAML-NEXT:       - 15
63; YAML-NEXT:   - Stream:
64; YAML-NEXT:       - 6
65; YAML-NEXT:   - Stream:
66; YAML-NEXT:       - 16
67; YAML-NEXT:   - Stream:
68; YAML-NEXT:       - 7
69; YAML-NEXT:   - Stream:
70; YAML-NEXT:       - 21
71; YAML-NEXT:   - Stream:
72; YAML-NEXT:       - 22
73; YAML-NEXT: PdbStream:
74; YAML-NEXT:   Age:             1
75; YAML-NEXT:   Guid:            '{0B355641-86A0-A249-896F-9988FAE52FF0}'
76; YAML-NEXT:   Signature:       1424295906
77; YAML-NEXT:   Version:         VC70
78; YAML-NEXT: ...
79
80; NO-HEADERS: ---
81; NO-HEADERS-NOT: MSF:
82; NO-HEADERS-NOT:   SuperBlock:
83; NO-HEADERS: ...