diff options
Diffstat (limited to 'test/COFF/export.test')
-rw-r--r-- | test/COFF/export.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/COFF/export.test b/test/COFF/export.test index a00a29c13d4c..8bf8c44c81dc 100644 --- a/test/COFF/export.test +++ b/test/COFF/export.test @@ -97,3 +97,12 @@ FORWARDER: Ordinal RVA Name FORWARDER: 0 0 FORWARDER: 1 0x1010 exportfn FORWARDER: 2 foo (forwarded to kernel32.foobar) + +# RUN: lld-link /out:%t.dll /dll %t.obj /merge:.rdata=.text /export:exportfn1 /export:exportfn2 +# RUN: llvm-objdump -p %t.dll | FileCheck -check-prefix=MERGE -match-full-lines %s + +MERGE: DLL name: export.test.tmp.dll +MERGE: Ordinal RVA Name +MERGE-NEXT: 0 0 +MERGE-NEXT: 1 0x1008 exportfn1 +MERGE-NEXT: 2 0x1010 exportfn2 |