[ExecutionEngine] Disable weak symbol tests for COFF.
COFF doesn't support weak linkage on functions.
llvm-svn: 278162
diff --git a/llvm/test/ExecutionEngine/MCJIT/weak-function.ll b/llvm/test/ExecutionEngine/MCJIT/weak-function.ll
index 562d6ad..843fb4a 100644
--- a/llvm/test/ExecutionEngine/MCJIT/weak-function.ll
+++ b/llvm/test/ExecutionEngine/MCJIT/weak-function.ll
@@ -1,9 +1,12 @@
; RUN: lli -jit-kind=mcjit -extra-module %p/Inputs/weak-function-2.ll %s
+; REQUIRES: not_COFF
;
; Check that functions in two different modules agree on the address of weak
; function 'baz'
+; Testing on COFF platforms is disabled as COFF has no representation of 'weak'
+; linkage.
-define linkonce_odr i32 @baz() {
+define weak i32 @baz() {
entry:
ret i32 0
}