mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
8b022e96fb
This resubmits commit c0c249e9f2ef83e1d1e5f166b50673d92f3579d7. It was broken due to some weird template issues, which have since been fixed. llvm-svn: 305517
67 lines
2.9 KiB
Plaintext
67 lines
2.9 KiB
Plaintext
; RUN: llvm-pdbutil yaml2pdb -pdb=%t.pdb %p/Inputs/debug-subsections.yaml
|
|
; RUN: llvm-pdbutil pdb2yaml -all -no-file-headers %t.pdb | FileCheck --check-prefix=YAML %s
|
|
|
|
YAML: Modules:
|
|
YAML-NEXT: - Module: Foo.obj
|
|
YAML-NEXT: ObjFile: Foo.obj
|
|
YAML-NEXT: Subsections:
|
|
YAML-NEXT: - !CrossModuleExports
|
|
YAML-NEXT: Exports:
|
|
YAML-NEXT: - LocalId: 4852
|
|
YAML-NEXT: GlobalId: 9283
|
|
YAML-NEXT: - LocalId: 2147487875
|
|
YAML-NEXT: GlobalId: 9123
|
|
YAML: - Module: Bar.obj
|
|
YAML-NEXT: ObjFile: Bar.obj
|
|
YAML-NEXT: Subsections:
|
|
YAML-NEXT: - !CrossModuleExports
|
|
YAML-NEXT: Exports:
|
|
YAML-NEXT: - LocalId: 4265
|
|
YAML-NEXT: GlobalId: 6097
|
|
YAML-NEXT: - LocalId: 4297
|
|
YAML-NEXT: GlobalId: 4677
|
|
YAML-NEXT: - !CrossModuleImports
|
|
YAML-NEXT: Imports:
|
|
YAML-NEXT: - Module: Foo.obj
|
|
YAML-NEXT: Imports: [ 4852, 2147487875 ]
|
|
YAML: - Module: 'd:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj'
|
|
YAML-NEXT: ObjFile: 'd:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj'
|
|
YAML-NEXT: SourceFiles:
|
|
YAML-NEXT: - 'd:\src\llvm\test\debuginfo\pdb\inputs\empty.cpp'
|
|
YAML-NEXT: Subsections:
|
|
YAML-NEXT: - !FileChecksums
|
|
YAML-NEXT: Checksums:
|
|
YAML-NEXT: - FileName: 'd:\src\llvm\test\debuginfo\pdb\inputs\empty.cpp'
|
|
YAML-NEXT: Kind: MD5
|
|
YAML-NEXT: Checksum: A0A5BD0D3ECD93FC29D19DE826FBF4BC
|
|
YAML-NEXT: - FileName: 'f:\dd\externalapis\windows\10\sdk\inc\winerror.h'
|
|
YAML-NEXT: Kind: MD5
|
|
YAML-NEXT: Checksum: 1154D69F5B2650196E1FC34F4134E56B
|
|
YAML-NEXT: - !Lines
|
|
YAML-NEXT: CodeSize: 10
|
|
YAML-NEXT: Flags: [ ]
|
|
YAML-NEXT: RelocOffset: 100016
|
|
YAML-NEXT: RelocSegment: 1
|
|
YAML-NEXT: Blocks:
|
|
YAML-NEXT: - FileName: 'd:\src\llvm\test\debuginfo\pdb\inputs\empty.cpp'
|
|
YAML-NEXT: Lines:
|
|
YAML-NEXT: - Offset: 0
|
|
YAML-NEXT: LineStart: 5
|
|
YAML-NEXT: IsStatement: true
|
|
YAML-NEXT: EndDelta: 0
|
|
YAML-NEXT: - Offset: 3
|
|
YAML-NEXT: LineStart: 6
|
|
YAML-NEXT: IsStatement: true
|
|
YAML-NEXT: EndDelta: 0
|
|
YAML-NEXT: - Offset: 8
|
|
YAML-NEXT: LineStart: 7
|
|
YAML-NEXT: IsStatement: true
|
|
YAML-NEXT: EndDelta: 0
|
|
YAML-NEXT: Columns:
|
|
YAML-NEXT: - !InlineeLines
|
|
YAML-NEXT: HasExtraFiles: false
|
|
YAML-NEXT: Sites:
|
|
YAML-NEXT: - FileName: 'f:\dd\externalapis\windows\10\sdk\inc\winerror.h'
|
|
YAML-NEXT: LineNum: 26950
|
|
YAML-NEXT: Inlinee: 22767
|