summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2015-07-30 13:06:53 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2015-07-30 13:06:53 +0000
commit1c84ff5f607708b28c93819c8a54f7705ab78db6 (patch)
tree7d62c18c50d30cc9cbebfa7f9e4b241192491ac9 /llvm/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp
parent2041b1dd0bf7f155481ddbad44ac9a6441b88071 (diff)
downloadbcm5719-llvm-1c84ff5f607708b28c93819c8a54f7705ab78db6.tar.gz
bcm5719-llvm-1c84ff5f607708b28c93819c8a54f7705ab78db6.zip
MCJITTests/MCJITCAPITest.cpp: Try to appease i686-win32.
llvm-svn: 243639
Diffstat (limited to 'llvm/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp')
-rw-r--r--llvm/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp b/llvm/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp
index 30561b7d49c..9d768d97f38 100644
--- a/llvm/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud