Expose the RTDyldMemoryManager through the C API. This allows clients of
[oota-llvm.git] / lib / IR / Core.cpp
index 889d5742906aae51bfd9bb02ca972c65b3651cb8..66610bd7f5bdf9836608de1774ca0686c07a2b28 100644 (file)
@@ -58,6 +58,10 @@ void LLVMShutdown() {
 
 /*===-- Error handling ----------------------------------------------------===*/
 
+char *LLVMCreateMessage(const char *Message) {
+  return strdup(Message);
+}
+
 void LLVMDisposeMessage(char *Message) {
   free(Message);
 }