diff --git a/base/cbits/extra.cpp b/base/cbits/extra.cpp index 8a3ea49..9d9154f 100644 --- a/base/cbits/extra.cpp +++ b/base/cbits/extra.cpp @@ -387,7 +387,7 @@ LLVMModuleRef LLVMGetModuleFromAssembly(const char *asmtext, unsigned txtlen, llvm::getGlobalContext()))) { std::string s; llvm::raw_string_ostream buf(s); - error.Print("llvm-py", buf); + error.print("llvm-py", buf); *out = strdup(buf.str().c_str()); return NULL; }