Propogate the error message, not just the error state.
[oota-llvm.git] / lib / ExecutionEngine / RuntimeDyld / RuntimeDyld.cpp
index a57055eb8d2db590c130a157e79e77378f9a8875..aa4f2f9ad0b394d638a5ecc24b30d3346ea56b97 100644 (file)
@@ -334,4 +334,9 @@ sys::MemoryBlock RuntimeDyld::getMemoryBlock() {
   return Dyld->getMemoryBlock();
 }
 
+StringRef RuntimeDyld::getErrorString()
+{
+  return Dyld->getErrorString();
+}
+
 } // end namespace llvm