[lld] r374142 - Use lld-link instead of llvm-dlltool to create an implib
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 9 00:04:38 PDT 2019
Author: ruiu
Date: Wed Oct 9 00:04:38 2019
New Revision: 374142
URL: http://llvm.org/viewvc/llvm-project?rev=374142&view=rev
Log:
Use lld-link instead of llvm-dlltool to create an implib
Suggested by Martin Storsjö.
Modified:
lld/trunk/test/COFF/imports-ordinal-only.s
Modified: lld/trunk/test/COFF/imports-ordinal-only.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/imports-ordinal-only.s?rev=374142&r1=374141&r2=374142&view=diff
==============================================================================
--- lld/trunk/test/COFF/imports-ordinal-only.s (original)
+++ lld/trunk/test/COFF/imports-ordinal-only.s Wed Oct 9 00:04:38 2019
@@ -1,6 +1,6 @@
# REQUIRES: x86
#
-# RUN: llvm-dlltool -k -m i386 --input-def %p/Inputs/ordinal-only-implib.def --output-lib %t-implib.a
+# RUN: lld-link -machine:x86 -def:%p/Inputs/ordinal-only-implib.def -implib:%t-implib.a
# RUN: llvm-mc -triple=i386-pc-win32 %s -filetype=obj -o %t.obj
# RUN: lld-link -out:%t.exe -entry:main -subsystem:console -safeseh:no -debug %t.obj %t-implib.a
# RUN: llvm-objdump -private-headers %t.exe | FileCheck --match-full-lines %s
More information about the llvm-commits
mailing list