From 40411cc409370b01fd0920fa65148bcebf50e1d1 Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Tue, 22 Mar 2011 18:19:42 +0000 Subject: Propogate the error message, not just the error state. llvm-svn: 128094 --- llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp') diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp index a57055eb8d2..aa4f2f9ad0b 100644 --- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp +++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp @@ -334,4 +334,9 @@ sys::MemoryBlock RuntimeDyld::getMemoryBlock() { return Dyld->getMemoryBlock(); } +StringRef RuntimeDyld::getErrorString() +{ + return Dyld->getErrorString(); +} + } // end namespace llvm -- cgit v1.2.3