mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-01 16:31:13 +00:00
Fixing MCJIT unit test on Windows.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_33@181625 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0a3c6b4fcc
commit
30b015f044
@ -48,6 +48,8 @@ TEST_F(MCJITCAPITest, simple_function) {
|
||||
// Creates a function that returns 42, compiles it, and runs it.
|
||||
|
||||
LLVMModuleRef module = LLVMModuleCreateWithName("simple_module");
|
||||
|
||||
LLVMSetTarget(module, HostTriple.c_str());
|
||||
|
||||
LLVMValueRef function = LLVMAddFunction(
|
||||
module, "simple_function", LLVMFunctionType(LLVMInt32Type(), 0, 0, 0));
|
||||
|
Loading…
x
Reference in New Issue
Block a user