[llvm-commits] CVS: llvm/include/llvm/Support/ToolRunner.h

Chris Lattner lattner at cs.uiuc.edu
Sat Jul 24 00:49:00 PDT 2004



Changes in directory llvm/include/llvm/Support:

ToolRunner.h updated: 1.13 -> 1.14

---
Log message:

Provide timeout values to all abstract interpreters


---
Diffs of the changes:  (+7 -4)

Index: llvm/include/llvm/Support/ToolRunner.h
diff -u llvm/include/llvm/Support/ToolRunner.h:1.13 llvm/include/llvm/Support/ToolRunner.h:1.14
--- llvm/include/llvm/Support/ToolRunner.h:1.13	Tue May  4 17:02:41 2004
+++ llvm/include/llvm/Support/ToolRunner.h	Sat Jul 24 02:48:50 2004
@@ -64,7 +64,7 @@
                      const std::string &InputFile,
                      const std::string &OutputFile,
                      const std::vector<std::string> &SharedLibs = 
-                         std::vector<std::string>());
+                         std::vector<std::string>(), unsigned Timeout = 0);
 
   /// MakeSharedObject - This compiles the specified file (which is either a .c
   /// file or a .s file) into a shared object.
@@ -110,7 +110,8 @@
                              const std::string &InputFile,
                              const std::string &OutputFile,
                              const std::vector<std::string> &SharedLibs = 
-                               std::vector<std::string>()) = 0;
+                               std::vector<std::string>(),
+                             unsigned Timeout = 0) = 0;
 };
 
 //===---------------------------------------------------------------------===//
@@ -139,7 +140,8 @@
                              const std::string &InputFile,
                              const std::string &OutputFile,
                              const std::vector<std::string> &SharedLibs = 
-                               std::vector<std::string>());
+                               std::vector<std::string>(),
+                             unsigned Timeout = 0);
 
   // Sometimes we just want to go half-way and only generate the .c file, not
   // necessarily compile it with GCC and run the program.  This throws an
@@ -175,7 +177,8 @@
                              const std::string &InputFile,
                              const std::string &OutputFile,
                              const std::vector<std::string> &SharedLibs = 
-                                std::vector<std::string>());
+                                std::vector<std::string>(),
+                             unsigned Timeout = 0);
 
   // Sometimes we just want to go half-way and only generate the .s file,
   // not necessarily compile it all the way and run the program.  This throws





More information about the llvm-commits mailing list