llvm-project/llvm/test/DebugInfo/PDB/pdbdump-headers.test

38 lines
1.1 KiB
Plaintext
Raw Normal View History

; RUN: llvm-pdbdump --dump-headers %p/Inputs/empty.pdb | FileCheck %s
; CHECK: BlockSize: 4096
; CHECK-NEXT: Unknown0: 2
; CHECK-NEXT: NumBlocks: 25
; CHECK-NEXT: NumDirectoryBytes: 136
; CHECK-NEXT: Unknown1: 0
; CHECK-NEXT: BlockMapAddr: 24
; CHECK-NEXT: NumDirectoryBlocks: 1
; CHECK-NEXT: BlockMapOffset: 98304
; CHECK-NEXT: DirectoryBlocks: [23]
; CHECK-NEXT: NumStreams: 17
; CHECK-NEXT: Version: 20000404
; CHECK-NEXT: Signature: 54e507e2
; CHECK-NEXT: Age: 1
; CHECK-NEXT: Guid: b 35 56 41 86 a0 a2 49 89 6f 99 88 fa e5 2f f0
; CHECK-NEXT: NumberOfBytes: 34
; CHECK-NEXT: HashSize: 3
; CHECK-NEXT: MaxNumberOfStrings: 6
; CHECK-NEXT: NumPresentWords: 1
; CHECK-NEXT: Word: 26
; CHECK-NEXT: NumDeletedWords: 0
; CHECK-NEXT: NameOffset: 17
; CHECK-NEXT: NameIndex: 9
; CHECK-NEXT: String: /src/headerblock
; CHECK: NameOffset: 10
; CHECK-NEXT: NameIndex: 13
; CHECK-NEXT: String: /names
; CHECK: NameOffset: 0
; CHECK-NEXT: NameIndex: 5
; CHECK-NEXT: String: /LinkInfo
; CHECK: NameStream: 13
; CHECK-NEXT: NameStreamSignature: effeeffe
; CHECK-NEXT: NameStreamVersion: 1