1 # RUN: llvm-pdbutil yaml2pdb %s -pdb=%t.pdb
2 # RUN: lldb-test object-file %t.pdb | FileCheck %s
4 # CHECK: Plugin name: pdb
5 # CHECK: Architecture: x86_64-pc-windows-msvc
6 # CHECK: UUID: 61AF583F-29A8-7A6C-4C4C-44205044422E-00000003
7 # CHECK: Executable: false
8 # CHECK: Stripped: false
9 # CHECK: Type: debug info
11 # CHECK: Base VM address: 0xffffffffffffffff
12 # CHECK: There are no sections
20 NumDirectoryBytes: 116
24 DirectoryBlocks: [ 17 ]
27 StreamSizes: [ 0, 93, 100, 550, 136, 0, 544, 576, 40, 20, 120, 368,
49 Guid: '{61AF583F-29A8-7A6C-4C4C-44205044422E}'
62 - Module: '/tmp/pdb.obj'
63 ObjFile: '/tmp/pdb.obj'
73 - FileName: '/tmp/a.cpp'
86 - FileName: '/tmp/a.cpp'
88 Checksum: DA1F9D293B90B487ADB2C711137770D3
104 Version: 'clang version 12.0.0 (git@github.com:llvm/llvm-project.git 8a08e08db6c2e4a5db485253f3186b0f9e739e15)'
123 BytesOfCalleeSavedRegisters: 0
124 OffsetOfExceptionHandler: 0
125 SectionIdOfExceptionHandler: 0
130 Flags: [ IsParameter ]
132 - Kind: S_DEFRANGE_FRAMEPOINTER_REL
133 DefRangeFramePointerRelSym:
143 Flags: [ IsParameter ]
145 - Kind: S_DEFRANGE_FRAMEPOINTER_REL
146 DefRangeFramePointerRelSym:
158 - Module: '* Linker *'
166 ObjectName: '* Linker *'
190 - '/out:a.exe -debug pdb.obj /nodefaultlib /entry:main'
197 Characteristics: 1610612768
202 Characteristics: 1610612768
212 Characteristics: 1073741888
217 Characteristics: 1073741888
227 Characteristics: 1073741888
232 Characteristics: 1073741888
245 ArgIndices: [ 116, 4096 ]
271 ArgIndices: [ 4097, 0, 4098, 0, 0 ]