mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:43:36 +01:00
Make pdbdump-objfilename test work again
- The test had extension .yaml, which lit doesn't execute in this directory. Rename to .test to make it run, and move the yaml bits into a dedicated file, like with all other tests in this dir. - llvm-pdbdump got renamed to llvm-pdbutil long ago, update test. - -dbi-module-info got renamed in r305032, update test for this too. llvm-svn: 365514
This commit is contained in:
parent
a445335203
commit
d50a740a53
6
test/DebugInfo/PDB/Inputs/objfilename.yaml
Normal file
6
test/DebugInfo/PDB/Inputs/objfilename.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
DbiStream:
|
||||
Modules:
|
||||
- Module: 'C:\src\test.obj'
|
||||
ObjFile: 'C:\src\test.obj'
|
||||
...
|
7
test/DebugInfo/PDB/pdbdump-objfilename.test
Normal file
7
test/DebugInfo/PDB/pdbdump-objfilename.test
Normal file
@ -0,0 +1,7 @@
|
||||
# RUN: llvm-pdbutil yaml2pdb -pdb=%t %p/Inputs/objfilename.yaml
|
||||
# RUN: llvm-pdbutil pdb2yaml -modules %t | FileCheck %s
|
||||
|
||||
CHECK: DbiStream:
|
||||
CHECK: Modules:
|
||||
CHECK-NEXT: - Module:{{ *}}'C:\src\test.obj'
|
||||
CHECK-NEXT: ObjFile:{{ *}}'C:\src\test.obj'
|
@ -1,14 +0,0 @@
|
||||
# RUN: llvm-pdbdump yaml2pdb -pdb=%t %s
|
||||
# RUN: llvm-pdbdump pdb2yaml -dbi-module-info %t \
|
||||
# RUN: | FileCheck %s
|
||||
#
|
||||
# CHECK: DbiStream:
|
||||
# CHECK: Modules:
|
||||
# CHECK-NEXT: - Module:{{ *}}'C:\src\test.obj'
|
||||
# CHECK-NEXT: ObjFile:{{ *}}'C:\src\test.obj'
|
||||
---
|
||||
DbiStream:
|
||||
Modules:
|
||||
- Module: 'C:\src\test.obj'
|
||||
ObjFile: 'C:\src\test.obj'
|
||||
...
|
Loading…
Reference in New Issue
Block a user