[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 03:33:15 PDT 2017


mstorsjo created this revision.

https://reviews.llvm.org/D39328

Files:
  test/COFF/export32.test


Index: test/COFF/export32.test
===================================================================
--- test/COFF/export32.test
+++ 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.120383.patch
Type: text/x-patch
Size: 624 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171026/10c78d4c/attachment.bin>


More information about the llvm-commits mailing list