From: Hans Wennborg Date: Tue, 4 Aug 2015 00:44:24 +0000 (+0000) Subject: Merging r243639: X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2aa8d0f23946f642e8e13dfea1ed2889640bc844;p=llvm Merging r243639: ------------------------------------------------------------------------ r243639 | chapuni | 2015-07-30 06:06:53 -0700 (Thu, 30 Jul 2015) | 1 line MCJITTests/MCJITCAPITest.cpp: Try to appease i686-win32. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_37@243928 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp b/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp index 30561b7d49c..9d768d97f38 100644 --- a/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp +++ b/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp @@ -496,6 +496,7 @@ TEST_F(MCJITCAPITest, addGlobalMapping) { SKIP_UNSUPPORTED_PLATFORM; Module = LLVMModuleCreateWithName("testModule"); + LLVMSetTarget(Module, HostTriple.c_str()); LLVMTypeRef FunctionType = LLVMFunctionType(LLVMInt32Type(), NULL, 0, 0); LLVMValueRef MappedFn = LLVMAddFunction(Module, "mapped_fn", FunctionType);