From e56509c697db97771e27217a527186154173e6d1 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 27 Feb 2005 04:32:35 +0000 Subject: [PATCH] Remove some stuff I checked in accidentally git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20340 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/ToolRunner.cpp | 6 ------ tools/bugpoint/ToolRunner.cpp | 6 ------ 2 files changed, 12 deletions(-) diff --git a/lib/Support/ToolRunner.cpp b/lib/Support/ToolRunner.cpp index c68bd421578..a25e4bd0905 100644 --- a/lib/Support/ToolRunner.cpp +++ b/lib/Support/ToolRunner.cpp @@ -391,10 +391,6 @@ int GCC::ExecuteProgram(const std::string &ProgramFile, sys::Path OutputBinary (ProgramFile+".gcc.exe"); OutputBinary.makeUnique(); GCCArgs.push_back(OutputBinary.c_str()); // Output to the right file... - GCCArgs.push_back("-L/home/vadve/shared/localtools/x86/lib"); - GCCArgs.push_back("-lf2c"); // Hard-code the math library... - GCCArgs.push_back("-lpng"); // Hard-code the math library... - GCCArgs.push_back("-lz"); // Hard-code the math library... GCCArgs.push_back("-lm"); // Hard-code the math library... GCCArgs.push_back("-O2"); // Optimize the program a bit... #if defined (HAVE_LINK_R) @@ -410,8 +406,6 @@ int GCC::ExecuteProgram(const std::string &ProgramFile, } std::vector ProgramArgs; - //ProgramArgs.push_back("valgrind"); - //ProgramArgs.push_back("--tool=memcheck"); ProgramArgs.push_back(OutputBinary.c_str()); // Add optional parameters to the running program from Argv diff --git a/tools/bugpoint/ToolRunner.cpp b/tools/bugpoint/ToolRunner.cpp index c68bd421578..a25e4bd0905 100644 --- a/tools/bugpoint/ToolRunner.cpp +++ b/tools/bugpoint/ToolRunner.cpp @@ -391,10 +391,6 @@ int GCC::ExecuteProgram(const std::string &ProgramFile, sys::Path OutputBinary (ProgramFile+".gcc.exe"); OutputBinary.makeUnique(); GCCArgs.push_back(OutputBinary.c_str()); // Output to the right file... - GCCArgs.push_back("-L/home/vadve/shared/localtools/x86/lib"); - GCCArgs.push_back("-lf2c"); // Hard-code the math library... - GCCArgs.push_back("-lpng"); // Hard-code the math library... - GCCArgs.push_back("-lz"); // Hard-code the math library... GCCArgs.push_back("-lm"); // Hard-code the math library... GCCArgs.push_back("-O2"); // Optimize the program a bit... #if defined (HAVE_LINK_R) @@ -410,8 +406,6 @@ int GCC::ExecuteProgram(const std::string &ProgramFile, } std::vector ProgramArgs; - //ProgramArgs.push_back("valgrind"); - //ProgramArgs.push_back("--tool=memcheck"); ProgramArgs.push_back(OutputBinary.c_str()); // Add optional parameters to the running program from Argv