diff options
Diffstat (limited to 'lld/test/pecoff/export.test')
| -rw-r--r-- | lld/test/pecoff/export.test | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lld/test/pecoff/export.test b/lld/test/pecoff/export.test index ef2a1d19724..f8e75bf605d 100644 --- a/lld/test/pecoff/export.test +++ b/lld/test/pecoff/export.test @@ -69,3 +69,15 @@ DUP: DLL name: export.test.tmp6.dll DUP: Ordinal RVA Name DUP: 1 0x2010 exportfn8 DUP-NOT: 1 0x2010 exportfn8 + +# RUN: yaml2obj %p/Inputs/export.obj.yaml > %t.obj +# +# RUN: lld -flavor link /out:%t1.dll /dll /entry:init \ +# RUN: /export:f1=exportfn1 /export:f2=exportfn2 -- %t.obj +# RUN: llvm-objdump -p %t1.dll | FileCheck -check-prefix=EQUAL %s + +EQUAL: Export Table: +EQUAL: DLL name: export.test.tmp1.dll +EQUAL: Ordinal RVA Name +EQUAL-NEXT: 1 0x2008 f1 +EQUAL-NEXT: 2 0x2010 f2 |

