diff options
Diffstat (limited to 'llvm/lib/VMCore/PassManager.cpp')
-rw-r--r-- | llvm/lib/VMCore/PassManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/PassManager.cpp b/llvm/lib/VMCore/PassManager.cpp index 003ff59ecba..b28fdebd523 100644 --- a/llvm/lib/VMCore/PassManager.cpp +++ b/llvm/lib/VMCore/PassManager.cpp @@ -1294,7 +1294,7 @@ bool FunctionPassManager::run(Function &F) { if (F.isMaterializable()) { std::string errstr; if (F.Materialize(&errstr)) - report_fatal_error("Error reading bitcode file: " + errstr); + report_fatal_error("Error reading bitcode file: " + Twine(errstr)); } return FPM->run(F); } |