[llvm] r360680 - Replace lit feature keyword 'not_COFF' with 'uses_COFF'.
Paul Robinson via llvm-commits
llvm-commits at lists.llvm.org
Tue May 14 07:51:54 PDT 2019
Author: probinson
Date: Tue May 14 07:51:54 2019
New Revision: 360680
URL: http://llvm.org/viewvc/llvm-project?rev=360680&view=rev
Log:
Replace lit feature keyword 'not_COFF' with 'uses_COFF'.
Differential Revision: https://reviews.llvm.org/D61791
Modified:
llvm/trunk/test/ExecutionEngine/MCJIT/weak-function.ll
llvm/trunk/test/ExecutionEngine/OrcMCJIT/weak-function.ll
llvm/trunk/test/lit.cfg.py
Modified: llvm/trunk/test/ExecutionEngine/MCJIT/weak-function.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/MCJIT/weak-function.ll?rev=360680&r1=360679&r2=360680&view=diff
==============================================================================
--- llvm/trunk/test/ExecutionEngine/MCJIT/weak-function.ll (original)
+++ llvm/trunk/test/ExecutionEngine/MCJIT/weak-function.ll Tue May 14 07:51:54 2019
@@ -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'
Modified: llvm/trunk/test/ExecutionEngine/OrcMCJIT/weak-function.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/OrcMCJIT/weak-function.ll?rev=360680&r1=360679&r2=360680&view=diff
==============================================================================
--- llvm/trunk/test/ExecutionEngine/OrcMCJIT/weak-function.ll (original)
+++ llvm/trunk/test/ExecutionEngine/OrcMCJIT/weak-function.ll Tue May 14 07:51:54 2019
@@ -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'.
Modified: llvm/trunk/test/lit.cfg.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/lit.cfg.py?rev=360680&r1=360679&r2=360680&view=diff
==============================================================================
--- llvm/trunk/test/lit.cfg.py (original)
+++ llvm/trunk/test/lit.cfg.py Tue May 14 07:51:54 2019
@@ -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.
More information about the llvm-commits
mailing list