Displaying 1 result from an estimated 1 matches for "llvmentry".
Did you mean:
elementry
2011 May 31
0
[LLVMdev] Assertion failure in MC emitter running LLVM libs on Android using android-ndk
...std::string errStr;
llvm::EngineBuilder builder( module.get() );
builder.setErrorStr( &errStr );
builder.setEngineKind( llvm::EngineKind::JIT );
std::auto_ptr<llvm::ExecutionEngine> executionEngine( builder.create() );
llvm::Function *llvmEntry = module->getFunction( "entry" );
void (*entryPtr)() = (void (*)())executionEngine->getPointerToFunction( llvmEntry );
What is so strange about this error is that if I instead output the ARM assembly language then assembly it on the build host using the Android NDK toolchai...