llvm.org GIT mirror llvm / 4fadded
Replace lit feature keyword 'not_COFF' with 'uses_COFF'. Differential Revision: https://reviews.llvm.org/D61791 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360680 91177308-0d34-0410-b5e6-96231b3b80d8 Paul Robinson 1 year, 6 months ago
3 changed file(s) with 7 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: lli -jit-kind=mcjit -extra-module %p/Inputs/weak-function-2.ll %s
1 ; REQUIRES: not_COFF
1 ; UNSUPPORTED: uses_COFF
22 ;
33 ; Check that functions in two different modules agree on the address of weak
44 ; function 'baz'
0 ; RUN: lli -jit-kind=orc-mcjit -extra-module %p/Inputs/weak-function-2.ll %s
1 ; REQUIRES: not_COFF
1 ; UNSUPPORTED: uses_COFF
22 ;
33 ; Check that functions in two different modules agree on the address of weak
44 ; function 'baz'.
178178
179179 config.available_features.add("host-byteorder-" + sys.byteorder + "-endian")
180180
181 # Others/can-execute.txt
182 if sys.platform not in ['win32']:
181 if sys.platform in ['win32']:
182 # ExecutionEngine, no weak symbols in COFF.
183 config.available_features.add('uses_COFF')
184 else:
185 # Others/can-execute.txt
183186 config.available_features.add('can-execute')
184 config.available_features.add('not_COFF')
185187
186188 # Loadable module
187189 # FIXME: This should be supplied by Makefile or autoconf.