mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-04 00:06:50 +00:00
Temporarily Revert "Update for llvm API change."
This reverts commit 215113 to match the reversion in llvm. llvm-svn: 215156
This commit is contained in:
parent
87048a4c9e
commit
3668534f92
@ -45,6 +45,7 @@ std::string GetExecutablePath(const char *Argv0) {
|
||||
static llvm::ExecutionEngine *createExecutionEngine(llvm::Module *M,
|
||||
std::string *ErrorStr) {
|
||||
llvm::EngineBuilder EB = llvm::EngineBuilder(M)
|
||||
.setUseMCJIT(true)
|
||||
.setEngineKind(llvm::EngineKind::Either)
|
||||
.setErrorStr(ErrorStr);
|
||||
return EB.create();
|
||||
|
Loading…
x
Reference in New Issue
Block a user