diff --git a/tools/bugpoint/ToolRunner.cpp b/tools/bugpoint/ToolRunner.cpp index d4cea9fa499..f6a151c3371 100644 --- a/tools/bugpoint/ToolRunner.cpp +++ b/tools/bugpoint/ToolRunner.cpp @@ -80,7 +80,7 @@ static void ProcessFailure(sys::Path ProgPath, const char** Args) { OS << "\n"; // Rerun the compiler, capturing any error messages to print them. - sys::Path ErrorFilename("error_messages"); + sys::Path ErrorFilename("bugpoint.program_error_messages"); std::string ErrMsg; if (ErrorFilename.makeUnique(true, &ErrMsg)) { std::cerr << "Error making unique filename: " << ErrMsg << "\n";