[llvm-commits] CVS: llvm/tools/bugpoint/ToolRunner.cpp

Chris Lattner lattner at cs.uiuc.edu
Fri Jun 9 14:32:06 PDT 2006



Changes in directory llvm/tools/bugpoint:

ToolRunner.cpp updated: 1.52 -> 1.53
---
Log message:

After telling GCC to type of the input file with -x asm/-x c, switch back to
-x none, to not foul up autodetection of .a file or .dylibs.


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

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


Index: llvm/tools/bugpoint/ToolRunner.cpp
diff -u llvm/tools/bugpoint/ToolRunner.cpp:1.52 llvm/tools/bugpoint/ToolRunner.cpp:1.53
--- llvm/tools/bugpoint/ToolRunner.cpp:1.52	Tue Jun  6 17:30:59 2006
+++ llvm/tools/bugpoint/ToolRunner.cpp	Fri Jun  9 16:31:53 2006
@@ -405,6 +405,8 @@
 #endif
   }
   GCCArgs.push_back(ProgramFile.c_str());  // Specify the input filename...
+  GCCArgs.push_back("-x");
+  GCCArgs.push_back("none");
   GCCArgs.push_back("-o");
   sys::Path OutputBinary (ProgramFile+".gcc.exe");
   OutputBinary.makeUnique();






More information about the llvm-commits mailing list