mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-26 11:25:27 +00:00
Reinstate "Update for llvm API change.""
This reinstates r215113. llvm-svn: 216986
This commit is contained in:
parent
53dbef6ef1
commit
af2b7dc522
@ -45,7 +45,6 @@ std::string GetExecutablePath(const char *Argv0) {
|
||||
static llvm::ExecutionEngine *
|
||||
createExecutionEngine(std::unique_ptr<llvm::Module> M, std::string *ErrorStr) {
|
||||
return llvm::EngineBuilder(std::move(M))
|
||||
.setUseMCJIT(true)
|
||||
.setEngineKind(llvm::EngineKind::Either)
|
||||
.setErrorStr(ErrorStr)
|
||||
.create();
|
||||
|
Loading…
x
Reference in New Issue
Block a user