Rename bugpoint's error message file so that if it somehow
authorDan Gohman <gohman@apple.com>
Thu, 12 Feb 2009 20:53:27 +0000 (20:53 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 12 Feb 2009 20:53:27 +0000 (20:53 +0000)
gets left behind, it's less cryptic.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64399 91177308-0d34-0410-b5e6-96231b3b80d8

tools/bugpoint/ToolRunner.cpp

index d4cea9fa499218121ffc8352f59429459bf09a70..f6a151c337144450dd86e61595da9a186abe1842 100644 (file)
@@ -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";