summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-03-22 18:19:42 +0000
committerJim Grosbach <grosbach@apple.com>2011-03-22 18:19:42 +0000
commit40411cc409370b01fd0920fa65148bcebf50e1d1 (patch)
tree880fb4d7c952b9b789def93dbf54112ec7704b63 /llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
parentd52744086f6edca9414dc2b14e48c9fe6fa9818d (diff)
downloadbcm5719-llvm-40411cc409370b01fd0920fa65148bcebf50e1d1.tar.gz
bcm5719-llvm-40411cc409370b01fd0920fa65148bcebf50e1d1.zip
Propogate the error message, not just the error state.
llvm-svn: 128094
Diffstat (limited to 'llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp5
1 files changed, 5 insertions, 0 deletions
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
OpenPOWER on IntegriCloud