Re-submit [PECOFF] Add a test for the import table.

llvm-svn: 191580
This commit is contained in:
Rui Ueyama 2013-09-27 22:48:06 +00:00
parent 4c265906cc
commit 053d9313f2
1 changed files with 10 additions and 0 deletions

View File

@ -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