about summary refs log tree commit diff homepage
path: root/lib
diff options
context:
space:
mode:
authorJulian Büning <julian.buening@rwth-aachen.de>2018-07-23 10:48:32 +0200
committerMartinNowack <martin.nowack@gmail.com>2018-07-23 13:40:28 +0100
commit29e349142a54f7bee17bd7ac7f81ba6423075bed (patch)
tree8bef1edf4b90439f43470858df7290900022101d /lib
parent79ac709ff566e3406b16d066aac35b70e5d10690 (diff)
downloadklee-29e349142a54f7bee17bd7ac7f81ba6423075bed.tar.gz
ExternalDispatcher: setErrorStr for EngineBuilder
addresses comment made by @adrianherrera in #385
Diffstat (limited to 'lib')
-rw-r--r--lib/Core/ExternalDispatcher.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Core/ExternalDispatcher.cpp b/lib/Core/ExternalDispatcher.cpp
index 72b866cf..0a32e98d 100644
--- a/lib/Core/ExternalDispatcher.cpp
+++ b/lib/Core/ExternalDispatcher.cpp
@@ -132,6 +132,7 @@ ExternalDispatcherImpl::ExternalDispatcherImpl(LLVMContext &ctx)
   // so we can use the EngineBuilder API.
   auto dispatchModuleUniq = std::unique_ptr<Module>(singleDispatchModule);
   executionEngine = EngineBuilder(std::move(dispatchModuleUniq))
+                        .setErrorStr(&error)
                         .setEngineKind(EngineKind::JIT)
                         .create();
 #endif