1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00

Replace lit feature keyword 'not_COFF' with 'uses_COFF'.

Differential Revision: https://reviews.llvm.org/D61791

llvm-svn: 360680
This commit is contained in:
Paul Robinson 2019-05-14 14:51:54 +00:00
parent 2210b8bc74
commit 4d8fc6dc19
3 changed files with 7 additions and 5 deletions

View File

@ -1,5 +1,5 @@
; RUN: lli -jit-kind=mcjit -extra-module %p/Inputs/weak-function-2.ll %s
; REQUIRES: not_COFF
; UNSUPPORTED: uses_COFF
;
; Check that functions in two different modules agree on the address of weak
; function 'baz'

View File

@ -1,5 +1,5 @@
; RUN: lli -jit-kind=orc-mcjit -extra-module %p/Inputs/weak-function-2.ll %s
; REQUIRES: not_COFF
; UNSUPPORTED: uses_COFF
;
; Check that functions in two different modules agree on the address of weak
; function 'baz'.

View File

@ -179,10 +179,12 @@ if (config.host_ldflags.find("-m32") < 0
config.available_features.add("host-byteorder-" + sys.byteorder + "-endian")
# Others/can-execute.txt
if sys.platform not in ['win32']:
if sys.platform in ['win32']:
# ExecutionEngine, no weak symbols in COFF.
config.available_features.add('uses_COFF')
else:
# Others/can-execute.txt
config.available_features.add('can-execute')
config.available_features.add('not_COFF')
# Loadable module
# FIXME: This should be supplied by Makefile or autoconf.