You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

83 lines
2.3 KiB

; RUN: llvm-pdbdump pdb2yaml -stream-metadata -stream-directory -pdb-stream %p/Inputs/empty.pdb \
; RUN: | FileCheck -check-prefix=YAML %s
; RUN: llvm-pdbdump pdb2yaml -no-file-headers -stream-metadata -stream-directory -pdb-stream \
; RUN: %p/Inputs/empty.pdb | FileCheck -check-prefix=NO-HEADERS %s
; YAML: ---
; YAML-NEXT: MSF:
; YAML-NEXT: SuperBlock:
; YAML-NEXT: BlockSize: 4096
; YAML-NEXT: Unknown0: 2
; YAML-NEXT: NumBlocks: 25
; YAML-NEXT: NumDirectoryBytes: 136
; YAML-NEXT: Unknown1: 0
; YAML-NEXT: BlockMapAddr: 24
; YAML-NEXT: NumDirectoryBlocks: 1
; YAML-NEXT: BlockMapOffset: 98304
; YAML-NEXT: DirectoryBlocks:
; YAML-NEXT: - 23
; YAML-NEXT: NumStreams: 17
; YAML-NEXT: FileSize: 102400
; 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
; YAML-NEXT: Version: VC70
; YAML-NEXT: ...
; NO-HEADERS: ---
; NO-HEADERS-NOT: MSF:
; NO-HEADERS-NOT: SuperBlock:
; NO-HEADERS: ...