summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/test/DebugInfo/PDB/Inputs/objfilename.yaml6
-rw-r--r--llvm/test/DebugInfo/PDB/pdbdump-objfilename.test7
-rw-r--r--llvm/test/DebugInfo/PDB/pdbdump-objfilename.yaml14
3 files changed, 13 insertions, 14 deletions
diff --git a/llvm/test/DebugInfo/PDB/Inputs/objfilename.yaml b/llvm/test/DebugInfo/PDB/Inputs/objfilename.yaml
new file mode 100644
index 00000000000..81176ddb367
--- /dev/null
+++ b/llvm/test/DebugInfo/PDB/Inputs/objfilename.yaml
@@ -0,0 +1,6 @@
+---
+DbiStream:
+ Modules:
+ - Module: 'C:\src\test.obj'
+ ObjFile: 'C:\src\test.obj'
+...
diff --git a/llvm/test/DebugInfo/PDB/pdbdump-objfilename.test b/llvm/test/DebugInfo/PDB/pdbdump-objfilename.test
new file mode 100644
index 00000000000..a97233f72da
--- /dev/null
+++ b/llvm/test/DebugInfo/PDB/pdbdump-objfilename.test
@@ -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'
diff --git a/llvm/test/DebugInfo/PDB/pdbdump-objfilename.yaml b/llvm/test/DebugInfo/PDB/pdbdump-objfilename.yaml
deleted file mode 100644
index 6ddb4775f29..00000000000
--- a/llvm/test/DebugInfo/PDB/pdbdump-objfilename.yaml
+++ /dev/null
@@ -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'
-...
OpenPOWER on IntegriCloud