[lld] r289745 - COFF: We no longer require lib.exe to test DLL exports.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 14 16:11:17 PST 2016


Author: pcc
Date: Wed Dec 14 18:11:17 2016
New Revision: 289745

URL: http://llvm.org/viewvc/llvm-project?rev=289745&view=rev
Log:
COFF: We no longer require lib.exe to test DLL exports.

Modified:
    lld/trunk/test/COFF/dll.test
    lld/trunk/test/COFF/export-exe.test
    lld/trunk/test/COFF/export.test
    lld/trunk/test/COFF/export32.test
    lld/trunk/test/COFF/noentry.test
    lld/trunk/test/lit.cfg

Modified: lld/trunk/test/COFF/dll.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/dll.test?rev=289745&r1=289744&r2=289745&view=diff
==============================================================================
--- lld/trunk/test/COFF/dll.test (original)
+++ lld/trunk/test/COFF/dll.test Wed Dec 14 18:11:17 2016
@@ -1,5 +1,4 @@
 # REQUIRES: winres
-# REQUIRES: winlib
 
 # RUN: yaml2obj < %p/Inputs/export.yaml > %t.obj
 # RUN: lld-link /out:%t.dll /dll %t.obj /export:exportfn1 /export:exportfn2 \

Modified: lld/trunk/test/COFF/export-exe.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/export-exe.test?rev=289745&r1=289744&r2=289745&view=diff
==============================================================================
--- lld/trunk/test/COFF/export-exe.test (original)
+++ lld/trunk/test/COFF/export-exe.test Wed Dec 14 18:11:17 2016
@@ -1,4 +1,3 @@
-# REQUIRES: winlib
 # RUN: lld-link /entry:main /out:%t.exe /subsystem:windows \
 # RUN:   %p/Inputs/ret42.obj /export:main
 # RUN: llvm-objdump -p %t.exe | FileCheck %s

Modified: lld/trunk/test/COFF/export.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/export.test?rev=289745&r1=289744&r2=289745&view=diff
==============================================================================
--- lld/trunk/test/COFF/export.test (original)
+++ lld/trunk/test/COFF/export.test Wed Dec 14 18:11:17 2016
@@ -2,7 +2,6 @@
 #
 # RUN: lld-link /out:%t.dll /dll %t.obj /export:exportfn1 /export:exportfn2
 # RUN: llvm-objdump -p %t.dll | FileCheck -check-prefix=CHECK1 %s
-# REQUIRES: winlib
 
 CHECK1:      Export Table:
 CHECK1:      DLL name: export.test.tmp.dll

Modified: lld/trunk/test/COFF/export32.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/export32.test?rev=289745&r1=289744&r2=289745&view=diff
==============================================================================
--- lld/trunk/test/COFF/export32.test (original)
+++ lld/trunk/test/COFF/export32.test Wed Dec 14 18:11:17 2016
@@ -2,7 +2,6 @@
 #
 # RUN: lld-link /out:%t.dll /dll %t.obj /export:exportfn1 /export:exportfn2
 # RUN: llvm-objdump -p %t.dll | FileCheck -check-prefix=CHECK1 %s
-# REQUIRES: winlib
 
 # CHECK1:      Export Table:
 # CHECK1:      DLL name: export32.test.tmp.dll

Modified: lld/trunk/test/COFF/noentry.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/noentry.test?rev=289745&r1=289744&r2=289745&view=diff
==============================================================================
--- lld/trunk/test/COFF/noentry.test (original)
+++ lld/trunk/test/COFF/noentry.test Wed Dec 14 18:11:17 2016
@@ -1,5 +1,4 @@
 # REQUIRES: winres
-# REQUIRES: winlib
 
 # RUN: yaml2obj < %p/Inputs/export.yaml > %t.obj
 # RUN: lld-link /out:%t.dll /dll %t.obj

Modified: lld/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/lit.cfg?rev=289745&r1=289744&r2=289745&view=diff
==============================================================================
--- lld/trunk/test/lit.cfg (original)
+++ lld/trunk/test/lit.cfg Wed Dec 14 18:11:17 2016
@@ -259,10 +259,6 @@ rc = lit.util.which('rc', config.environ
 if cvtres and rc:
     config.available_features.add('winres')
 
-# Check if "lib.exe" command exists.
-if lit.util.which('lib', config.environment['PATH']):
-    config.available_features.add('winlib')
-
 # Check if "cpio" command exists.
 if lit.util.which('cpio', config.environment['PATH']):
     config.available_features.add('cpio')




More information about the llvm-commits mailing list