summaryrefslogtreecommitdiff
path: root/test/COFF/pdb-none.test
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-04-16 16:03:39 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-04-16 16:03:39 +0000
commitd2d3ebb81992e107edf95c1c136d7a342d9b1418 (patch)
treebb1af8fff2b1400cf240e3b2532a1e5d22a121da /test/COFF/pdb-none.test
parent16787c9ce0b96aaa669d7fab3a495916b35ce758 (diff)
downloadsrc-test2-d2d3ebb81992e107edf95c1c136d7a342d9b1418.tar.gz
src-test2-d2d3ebb81992e107edf95c1c136d7a342d9b1418.zip
Notes
Diffstat (limited to 'test/COFF/pdb-none.test')
-rw-r--r--test/COFF/pdb-none.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/COFF/pdb-none.test b/test/COFF/pdb-none.test
new file mode 100644
index 000000000000..480ff2a4ace3
--- /dev/null
+++ b/test/COFF/pdb-none.test
@@ -0,0 +1,13 @@
+# RUN: yaml2obj < %p/Inputs/pdb1.yaml > %t1.obj
+# RUN: yaml2obj < %p/Inputs/pdb2.yaml > %t2.obj
+# RUN: lld-link /debug /debugtype:pdata /pdb:%t.pdb /dll /out:%t.dll /entry:main /nodefaultlib \
+# RUN: /debugpdb %t1.obj %t2.obj
+
+# RUN: llvm-pdbdump pdb2yaml -pdb-stream %t.pdb | FileCheck %s
+
+# CHECK: PdbStream:
+# CHECK-NEXT: Age: 0
+# CHECK-NEXT: Guid: '{00000000-0000-0000-0000-000000000000}'
+# CHECK-NEXT: Signature: 0
+# CHECK-NEXT: Version: VC70
+