aboutsummaryrefslogtreecommitdiff
path: root/test/COFF/pdb-none.test
diff options
context:
space:
mode:
authorPirama Arumuga Nainar <pirama@google.com>2017-07-17 13:41:24 -0700
committerPirama Arumuga Nainar <pirama@google.com>2017-07-17 13:41:24 -0700
commitfc51a9828c2bece1d3cec27b0b3edbcf3f35467b (patch)
tree08218f530f003194de790344fb9a21db98913d22 /test/COFF/pdb-none.test
parentee4ddf03796b90a9b5ea0fd71f0ed6f5f5da4cb7 (diff)
parentb0147d1baf5593dcae1b25f4f6ee565bc5d3f438 (diff)
downloadlld-fc51a9828c2bece1d3cec27b0b3edbcf3f35467b.tar.gz
Merge commit 'b0147d1baf5593dcae1b25f4f6ee565bc5d3f438' into merge-305632
Bug: http://b/63619337 Test: python toolchain/llvm/android/build.py builds lld
Diffstat (limited to 'test/COFF/pdb-none.test')
-rw-r--r--test/COFF/pdb-none.test14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/COFF/pdb-none.test b/test/COFF/pdb-none.test
new file mode 100644
index 000000000..a028cf055
--- /dev/null
+++ b/test/COFF/pdb-none.test
@@ -0,0 +1,14 @@
+# 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: %t1.obj %t2.obj
+
+# RUN: llvm-pdbutil 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: Features: [ VC140 ]
+# CHECK-NEXT: Version: VC70
+