Changes in directory llvm/tools/bugpoint:

ToolRunner.cpp updated: 1.59 -> 1.60
---
Log message:

A bit more debugging printf's.

---
Diffs of the changes:  (+10 -0)

 ToolRunner.cpp |   10 ++++++++++
 1 files changed, 10 insertions(+)


Index: llvm/tools/bugpoint/ToolRunner.cpp
diff -u llvm/tools/bugpoint/ToolRunner.cpp:1.59 
llvm/tools/bugpoint/ToolRunner.cpp:1.60
--- llvm/tools/bugpoint/ToolRunner.cpp:1.59     Fri Sep 15 18:01:10 2006
+++ llvm/tools/bugpoint/ToolRunner.cpp  Wed Jan  3 01:44:30 2007
@@ -458,6 +458,11 @@
   GCCArgs.push_back(0);                    // NULL terminator
 
   std::cout << "<gcc>" << std::flush;
+  DEBUG(std::cerr << "\nAbout to run:\t";
+        for (unsigned i=0, e = GCCArgs.size()-1; i != e; ++i)
+          std::cerr << " " << GCCArgs[i];
+        std::cerr << "\n";
+        );
   if (RunProgramWithTimeout(GCCPath, &GCCArgs[0], sys::Path(), sys::Path(),
         sys::Path())) {
     ProcessFailure(GCCPath, &GCCArgs[0]);
@@ -545,6 +550,11 @@
   
 
   std::cout << "<gcc>" << std::flush;
+  DEBUG(std::cerr << "\nAbout to run:\t";
+        for (unsigned i=0, e = GCCArgs.size()-1; i != e; ++i)
+          std::cerr << " " << GCCArgs[i];
+        std::cerr << "\n";
+        );
   if (RunProgramWithTimeout(GCCPath, &GCCArgs[0], sys::Path(), sys::Path(),
                             sys::Path())) {
     ProcessFailure(GCCPath, &GCCArgs[0]);



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to