Changes in directory llvm/include/llvm/ExecutionEngine:

ExecutionEngine.h updated: 1.33 -> 1.34
---
Log message:

Add a helper method for running static ctors/dtors in the module.


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

 ExecutionEngine.h |    6 ++++++
 1 files changed, 6 insertions(+)


Index: llvm/include/llvm/ExecutionEngine/ExecutionEngine.h
diff -u llvm/include/llvm/ExecutionEngine/ExecutionEngine.h:1.33 
llvm/include/llvm/ExecutionEngine/ExecutionEngine.h:1.34
--- llvm/include/llvm/ExecutionEngine/ExecutionEngine.h:1.33    Tue Jul 12 
10:51:55 2005
+++ llvm/include/llvm/ExecutionEngine/ExecutionEngine.h Wed Mar  8 12:42:33 2006
@@ -95,6 +95,12 @@
   virtual GenericValue runFunction(Function *F,
                                 const std::vector<GenericValue> &ArgValues) = 
0;
 
+  /// runStaticConstructorsDestructors - This method is used to execute all of
+  /// the static constructors or destructors for a module, depending on the
+  /// value of isDtors.
+  void runStaticConstructorsDestructors(bool isDtors);
+  
+  
   /// runFunctionAsMain - This is a helper function which wraps runFunction to
   /// handle the common task of starting up main with the specified argc, argv,
   /// and envp parameters.



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to