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

55 lines
1.8 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: {0B355641-86A0-A249-896F-9988FAE52FF0}
; CHECK: NameStream: 13
; CHECK-NEXT: NameStreamSignature: effeeffe
; CHECK-NEXT: NameStreamVersion: 1
; CHECK: Dbi Version: 19990903
; CHECK-NEXT: Age: 1
; CHECK-NEXT: Incremental Linking: 1
; CHECK-NEXT: Has CTypes: 0
; CHECK-NEXT: Is Stripped: 0
; CHECK-NEXT: Machine Type: x86
; CHECK-NEXT: Number of Symbols: 8
; CHECK-NEXT: Toolchain Version: 12.0
; CHECK-NEXT: mspdb120.dll version: 12.0.31101
; CHECK: Modules:
; CHECK-NEXT: d:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj
; CHECK-NEXT: Debug Stream Index: 12
; CHECK-NEXT: Object File: d:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj
; CHECK-NEXT: Num Files: 1
; CHECK-NEXT: Source File Name Idx: 0
; CHECK-NEXT: Pdb File Name Idx: 0
; CHECK-NEXT: Line Info Byte Size: 0
; CHECK-NEXT: C13 Line Info Byte Size: 88
; CHECK-NEXT: Symbol Byte Size: 208
; CHECK-NEXT: Type Server Index: 0
; CHECK-NEXT: Has EC Info: 0
; CHECK-NEXT: * Linker *
; CHECK-NEXT: Debug Stream Index: 14
; CHECK-NEXT: Object File:
; CHECK-NEXT: Num Files: 0
; CHECK-NEXT: Source File Name Idx: 0
; CHECK-NEXT: Pdb File Name Idx: 1
; CHECK-NEXT: Line Info Byte Size: 0
; CHECK-NEXT: C13 Line Info Byte Size: 0
; CHECK-NEXT: Symbol Byte Size: 516
; CHECK-NEXT: Type Server Index: 0
; CHECK-NEXT: Has EC Info: 0