[llvm-commits] CVS: llvm/tools/bugpoint/ExecutionDriver.cpp ToolRunner.cpp
Lauro Ramos Venancio
lauro.venancio at gmail.com
Wed Jun 6 16:11:18 PDT 2007
Changes in directory llvm/tools/bugpoint:
ExecutionDriver.cpp updated: 1.69 -> 1.70
ToolRunner.cpp updated: 1.62 -> 1.63
---
Log message:
Fix bugpoint to run -llc-safe with -Xlinker.
---
Diffs of the changes: (+3 -1)
ExecutionDriver.cpp | 2 +-
ToolRunner.cpp | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
Index: llvm/tools/bugpoint/ExecutionDriver.cpp
diff -u llvm/tools/bugpoint/ExecutionDriver.cpp:1.69 llvm/tools/bugpoint/ExecutionDriver.cpp:1.70
--- llvm/tools/bugpoint/ExecutionDriver.cpp:1.69 Fri Feb 16 13:11:07 2007
+++ llvm/tools/bugpoint/ExecutionDriver.cpp Wed Jun 6 18:10:56 2007
@@ -260,7 +260,7 @@
// as the GCCArgs.
int RetVal = 0;
if (InterpreterSel == RunLLC || InterpreterSel == RunCBE ||
- InterpreterSel == CBE_bug)
+ InterpreterSel == CBE_bug || InterpreterSel == LLC_Safe)
RetVal = AI->ExecuteProgram(BytecodeFile, InputArgv, InputFile,
OutputFile, AdditionalLinkerArgs, SharedObjs,
Timeout, MemoryLimit);
Index: llvm/tools/bugpoint/ToolRunner.cpp
diff -u llvm/tools/bugpoint/ToolRunner.cpp:1.62 llvm/tools/bugpoint/ToolRunner.cpp:1.63
--- llvm/tools/bugpoint/ToolRunner.cpp:1.62 Thu May 3 13:36:15 2007
+++ llvm/tools/bugpoint/ToolRunner.cpp Wed Jun 6 18:10:56 2007
@@ -555,6 +555,8 @@
GCCArgs.push_back(fileType == AsmFile ? "assembler" : "c");
GCCArgs.push_back("-fno-strict-aliasing");
GCCArgs.push_back(InputFile.c_str()); // Specify the input filename.
+ GCCArgs.push_back("-x");
+ GCCArgs.push_back("none");
#if defined(sparc) || defined(__sparc__) || defined(__sparcv9)
GCCArgs.push_back("-G"); // Compile a shared library, `-G' for Sparc
#elif defined(__APPLE__)
More information about the llvm-commits
mailing list