2016-07-07 02:05:57 +08:00
|
|
|
; RUN: llvm-pdbdump pdb2yaml -stream-metadata -stream-directory -pdb-stream %p/Inputs/empty.pdb \
|
|
|
|
; RUN: | FileCheck -check-prefix=YAML %s
|
2016-07-12 05:45:09 +08:00
|
|
|
; RUN: llvm-pdbdump pdb2yaml -no-file-headers -stream-metadata -stream-directory -pdb-stream \
|
|
|
|
; RUN: %p/Inputs/empty.pdb | FileCheck -check-prefix=NO-HEADERS %s
|
2016-06-07 07:35:52 +08:00
|
|
|
|
|
|
|
; YAML: ---
|
2016-07-07 02:05:57 +08:00
|
|
|
; YAML-NEXT: MSF:
|
2016-06-15 04:48:36 +08:00
|
|
|
; YAML-NEXT: SuperBlock:
|
|
|
|
; YAML-NEXT: BlockSize: 4096
|
2016-07-16 06:17:19 +08:00
|
|
|
; YAML-NEXT: FreeBlockMap: 2
|
2016-06-15 04:48:36 +08:00
|
|
|
; YAML-NEXT: NumBlocks: 25
|
|
|
|
; YAML-NEXT: NumDirectoryBytes: 136
|
|
|
|
; YAML-NEXT: Unknown1: 0
|
|
|
|
; YAML-NEXT: BlockMapAddr: 24
|
2016-06-07 07:35:52 +08:00
|
|
|
; YAML-NEXT: NumDirectoryBlocks: 1
|
|
|
|
; YAML-NEXT: DirectoryBlocks:
|
|
|
|
; YAML-NEXT: - 23
|
2016-07-07 02:05:57 +08:00
|
|
|
; YAML-NEXT: NumStreams: 17
|
2016-06-15 04:48:36 +08:00
|
|
|
; YAML-NEXT: FileSize: 102400
|
2016-07-07 02:05:57 +08:00
|
|
|
; YAML-NEXT: StreamSizes:
|
|
|
|
; YAML-NEXT: - 40
|
|
|
|
; YAML-NEXT: - 118
|
|
|
|
; YAML-NEXT: - 5392
|
|
|
|
; YAML-NEXT: - 739
|
|
|
|
; YAML-NEXT: - 784
|
|
|
|
; YAML-NEXT: - 0
|
|
|
|
; YAML-NEXT: - 556
|
|
|
|
; YAML-NEXT: - 604
|
|
|
|
; YAML-NEXT: - 104
|
|
|
|
; YAML-NEXT: - 0
|
|
|
|
; YAML-NEXT: - 160
|
|
|
|
; YAML-NEXT: - 32
|
|
|
|
; YAML-NEXT: - 308
|
|
|
|
; YAML-NEXT: - 239
|
|
|
|
; YAML-NEXT: - 520
|
|
|
|
; YAML-NEXT: - 308
|
|
|
|
; YAML-NEXT: - 68
|
|
|
|
; YAML-NEXT: StreamMap:
|
|
|
|
; YAML-NEXT: - Stream:
|
|
|
|
; YAML-NEXT: - 8
|
|
|
|
; YAML-NEXT: - Stream:
|
|
|
|
; YAML-NEXT: - 19
|
|
|
|
; YAML-NEXT: - Stream:
|
|
|
|
; YAML-NEXT: - 18
|
|
|
|
; YAML-NEXT: - 17
|
|
|
|
; YAML-NEXT: - Stream:
|
|
|
|
; YAML-NEXT: - 14
|
|
|
|
; YAML-NEXT: - Stream:
|
|
|
|
; YAML-NEXT: - 20
|
|
|
|
; YAML-NEXT: - Stream:
|
|
|
|
; YAML-NEXT: - Stream:
|
|
|
|
; YAML-NEXT: - 11
|
|
|
|
; YAML-NEXT: - Stream:
|
|
|
|
; YAML-NEXT: - 13
|
|
|
|
; YAML-NEXT: - Stream:
|
|
|
|
; YAML-NEXT: - 12
|
|
|
|
; YAML-NEXT: - Stream:
|
|
|
|
; YAML-NEXT: - Stream:
|
|
|
|
; YAML-NEXT: - 10
|
|
|
|
; YAML-NEXT: - Stream:
|
|
|
|
; YAML-NEXT: - 15
|
|
|
|
; YAML-NEXT: - Stream:
|
|
|
|
; YAML-NEXT: - 6
|
|
|
|
; YAML-NEXT: - Stream:
|
|
|
|
; YAML-NEXT: - 16
|
|
|
|
; YAML-NEXT: - Stream:
|
|
|
|
; YAML-NEXT: - 7
|
|
|
|
; YAML-NEXT: - Stream:
|
|
|
|
; YAML-NEXT: - 21
|
|
|
|
; YAML-NEXT: - Stream:
|
|
|
|
; YAML-NEXT: - 22
|
|
|
|
; YAML-NEXT: PdbStream:
|
|
|
|
; YAML-NEXT: Age: 1
|
|
|
|
; YAML-NEXT: Guid: '{0B355641-86A0-A249-896F-9988FAE52FF0}'
|
|
|
|
; YAML-NEXT: Signature: 1424295906
|
2016-07-12 05:45:26 +08:00
|
|
|
; YAML-NEXT: Version: VC70
|
2016-07-16 06:17:08 +08:00
|
|
|
; YAML-NEXT: NamedStreams:
|
|
|
|
; YAML-NEXT: - Name: /names
|
|
|
|
; YAML-NEXT: StreamNum: 13
|
|
|
|
; YAML-NEXT: - Name: /LinkInfo
|
|
|
|
; YAML-NEXT: StreamNum: 5
|
|
|
|
; YAML-NEXT: - Name: /src/headerblock
|
|
|
|
; YAML-NEXT: StreamNum: 9
|
2016-07-07 02:05:57 +08:00
|
|
|
; YAML-NEXT: ...
|
2016-07-12 05:45:09 +08:00
|
|
|
|
|
|
|
; NO-HEADERS: ---
|
|
|
|
; NO-HEADERS-NOT: MSF:
|
|
|
|
; NO-HEADERS-NOT: SuperBlock:
|
|
|
|
; NO-HEADERS: ...
|