[llvm] r243639 - MCJITTests/MCJITCAPITest.cpp: Try to appease i686-win32.

Lang Hames lhames at gmail.com
Mon Aug 3 08:07:36 PDT 2015


Thanks Takumi!

- Lang.

On Thu, Jul 30, 2015 at 6:06 AM, NAKAMURA Takumi <geek4civic at gmail.com>
wrote:

> Author: chapuni
> Date: Thu Jul 30 08:06:53 2015
> New Revision: 243639
>
> URL: http://llvm.org/viewvc/llvm-project?rev=243639&view=rev
> Log:
> MCJITTests/MCJITCAPITest.cpp: Try to appease i686-win32.
>
> Modified:
>     llvm/trunk/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp
>
> Modified: llvm/trunk/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp?rev=243639&r1=243638&r2=243639&view=diff
>
> ==============================================================================
> --- llvm/trunk/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp (original)
> +++ llvm/trunk/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp Thu Jul
> 30 08:06:53 2015
> @@ -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);
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150803/16c8c390/attachment.html>


More information about the llvm-commits mailing list