llvm/test/DebugInfo/PDB/pdbdump-headers.test
Daniel Sanders cd2984fe3c Revert r267049, r26706[16789], r267071 - Refactor raw pdb dumper into library
r267049 broke multiple buildbots (e.g. clang-cmake-mips, and clang-x86_64-linux-selfhost-modules) which the follow-ups have not yet resolved and this is preventing subsequent committers from being notified about additional failures on the affected buildbots.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267148 91177308-0d34-0410-b5e6-96231b3b80d8
2016-04-22 12:04:42 +00:00

38 lines
1.1 KiB
Plaintext

; 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