forked from OSchip/llvm-project
COFF: We no longer require lib.exe to test DLL exports.
llvm-svn: 289745
This commit is contained in:
parent
abedf7a0c0
commit
c4e9482164
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -259,10 +259,6 @@ rc = lit.util.which('rc', config.environment['PATH'])
|
|||
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')
|
||||
|
|
Loading…
Reference in New Issue