[lld] r191580 - Re-submit [PECOFF] Add a test for the import table.
Rui Ueyama
ruiu at google.com
Fri Sep 27 15:48:06 PDT 2013
Author: ruiu
Date: Fri Sep 27 17:48:06 2013
New Revision: 191580
URL: http://llvm.org/viewvc/llvm-project?rev=191580&view=rev
Log:
Re-submit [PECOFF] Add a test for the import table.
Added:
lld/trunk/test/pecoff/dynamic.test
Added: lld/trunk/test/pecoff/dynamic.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/dynamic.test?rev=191580&view=auto
==============================================================================
--- lld/trunk/test/pecoff/dynamic.test (added)
+++ lld/trunk/test/pecoff/dynamic.test Fri Sep 27 17:48:06 2013
@@ -0,0 +1,10 @@
+# RUN: yaml2obj %p/Inputs/vars-main.obj.yaml > %t.obj
+#
+# RUN: lld -flavor link /out:%t1 /subsystem:console /entry:main /opt:noref \
+# RUN: -- %t.obj %p/Inputs/vars.lib && llvm-objdump -p %t1 | FileCheck %s
+
+CHECK: DLL Name: vars.dll
+CHECK-NEXT: Hint/Ord Name
+CHECK-NEXT: 0 _name_with_underscore
+CHECK-NEXT: 1 fn
+CHECK-NEXT: 1
More information about the llvm-commits
mailing list