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

Chris Lattner lattner at cs.uiuc.edu
Tue Oct 14 17:25:01 PDT 2003


Changes in directory llvm/tools/bugpoint:

ExecutionDriver.cpp updated: 1.24 -> 1.25

---
Log message:

add support forloading additional .so files on the command line


---
Diffs of the changes:  (+6 -1)

Index: llvm/tools/bugpoint/ExecutionDriver.cpp
diff -u llvm/tools/bugpoint/ExecutionDriver.cpp:1.24 llvm/tools/bugpoint/ExecutionDriver.cpp:1.25
--- llvm/tools/bugpoint/ExecutionDriver.cpp:1.24	Tue Oct 14 16:59:36 2003
+++ llvm/tools/bugpoint/ExecutionDriver.cpp	Tue Oct 14 17:24:31 2003
@@ -42,6 +42,11 @@
   cl::opt<std::string>
   InputFile("input", cl::init("/dev/null"),
             cl::desc("Filename to pipe in as stdin (default: /dev/null)"));
+
+  cl::list<std::string>
+  AdditionalSOs("additional-so",
+                cl::desc("Additional shared objects to load "
+                         "into executing programs"));
 }
 
 // Anything specified after the --args option are taken as arguments to the
@@ -125,7 +130,7 @@
   OutputFile = getUniqueFilename(OutputFile);
 
   // Figure out which shared objects to run, if any.
-  std::vector<std::string> SharedObjs;
+  std::vector<std::string> SharedObjs(AdditionalSOs);
   if (!SharedObj.empty())
     SharedObjs.push_back(SharedObj);
 





More information about the llvm-commits mailing list