diff options
Diffstat (limited to 'test/COFF/export.test')
-rw-r--r-- | test/COFF/export.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/COFF/export.test b/test/COFF/export.test index a3ea0ab9bca24..20e069ec3c833 100644 --- a/test/COFF/export.test +++ b/test/COFF/export.test @@ -80,3 +80,14 @@ SYMTAB: __imp_exportfn2 in export.test.tmp.DLL SYMTAB: exportfn2 in export.test.tmp.DLL SYMTAB: __imp_exportfn3 in export.test.tmp.DLL SYMTAB: exportfn3 in export.test.tmp.DLL + +# RUN: lld-link /out:%t.dll /dll %t.obj /export:foo=kernel32.foobar +# RUN: llvm-objdump -p %t.dll | FileCheck -check-prefix=FORWARDER %s + +FORWARDER: Export Table: +FORWARDER: DLL name: export.test.tmp.dll +FORWARDER: Ordinal base: 0 +FORWARDER: Ordinal RVA Name +FORWARDER: 0 0 +FORWARDER: 1 0x1010 exportfn +FORWARDER: 2 foo (forwarded to kernel32.foobar) |