From 07775b207a95da2abd07b286310e224865bde203 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Wed, 9 Oct 2019 07:04:38 +0000 Subject: [PATCH] Use lld-link instead of llvm-dlltool to create an implib MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Suggested by Martin Storsjö. llvm-svn: 374142 --- lld/test/COFF/imports-ordinal-only.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lld/test/COFF/imports-ordinal-only.s b/lld/test/COFF/imports-ordinal-only.s index d4f5c44..c560a73 100644 --- a/lld/test/COFF/imports-ordinal-only.s +++ b/lld/test/COFF/imports-ordinal-only.s @@ -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 -- 2.7.4