[PATCH] D39328: [LLD] [COFF] Add a test for def files with spaces between @ and ordinal

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 26 13:12:28 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL316691: [COFF] Add a test for def files with spaces between @ and ordinal (authored by mstorsjo).

Changed prior to commit:
  https://reviews.llvm.org/D39328?vs=120383&id=120471#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D39328

Files:
  lld/trunk/test/COFF/export32.test


Index: lld/trunk/test/COFF/export32.test
===================================================================
--- lld/trunk/test/COFF/export32.test
+++ lld/trunk/test/COFF/export32.test
@@ -57,6 +57,11 @@
 # RUN: lld-link /out:%t.dll /dll %t.obj /def:%t.def
 # RUN: llvm-objdump -p %t.dll | FileCheck -check-prefix=CHECK5 %s
 
+# RUN: echo "EXPORTS exportfn1 @ 3" > %t.def
+# RUN: echo "fn2=exportfn2 @ 2" >> %t.def
+# RUN: lld-link /out:%t.dll /dll %t.obj /def:%t.def
+# RUN: llvm-objdump -p %t.dll | FileCheck -check-prefix=CHECK5 %s
+
 # CHECK5:      Export Table:
 # CHECK5:      DLL name: export32.test.tmp.dll
 # CHECK5:      Ordinal      RVA  Name


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39328.120471.patch
Type: text/x-patch
Size: 654 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171026/220bcca6/attachment.bin>


More information about the llvm-commits mailing list