diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2019-01-19 10:05:49 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2019-01-19 10:05:49 +0000 |
commit | e2fd426bdafe9f5c10066d3926ece6e342184a67 (patch) | |
tree | bfbbb5fd38554e6b8988b7a217e9fd0623728d7d /test/COFF/export.test | |
parent | 84c4061b34e048f47e5eb4fbabc1558495e8157c (diff) |
Vendor import of lld trunk r351319 (just before the release_80 branchvendor/lld/lld-trunk-r351319
Notes
Notes:
svn path=/vendor/lld/dist/; revision=343179
svn path=/vendor/lld/lld-trunk-r351319/; revision=343180; tag=vendor/lld/lld-trunk-r351319
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 |