Displaying 1 result from an estimated 1 matches for "engine_test".
2012 Jul 07
2
[LLVMdev] Crash using the JIT on x86 but work on x64
...0TestClass15test2ESs", (void*)getMethodPointer(&TestClass1::test2));
//registerSymbolFunction("_ZN10TestClass15test1Ev", (void *)TestClass1::test1);
// Run static constructors.
LLVM_ExecE->runStaticConstructorsDestructors(LLVM_Module, false);
loadFile("engine_test.bc");
// Run main.
std::vector<llvm::GenericValue> args;
LLVM_ExecE->runFunction(LLVM_Module->getFunction("_Z4Initv"), args);
// Run static destructors.
LLVM_ExecE->runStaticConstructorsDestructors(true);
return 1;
}
engine_test.cpp:
#inc...