Remove some stuff I checked in accidentally
authorChris Lattner <sabre@nondot.org>
Sun, 27 Feb 2005 04:32:35 +0000 (04:32 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 27 Feb 2005 04:32:35 +0000 (04:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20340 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/ToolRunner.cpp
tools/bugpoint/ToolRunner.cpp

index c68bd4215781a507afb94ba09328b9e1480280bc..a25e4bd09054004cc28897ceaca6d12fe8106f3b 100644 (file)
@@ -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<const char*> 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
index c68bd4215781a507afb94ba09328b9e1480280bc..a25e4bd09054004cc28897ceaca6d12fe8106f3b 100644 (file)
@@ -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<const char*> 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