mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-23 22:23:00 +00:00
Add runStaticConstructorsDestructors which runs ctors / dtors of a single module. Patch by David Chisnall.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56849 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -157,9 +157,13 @@ public:
|
||||
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
|
||||
/// the static constructors or destructors for a program, depending on the
|
||||
/// value of isDtors.
|
||||
void runStaticConstructorsDestructors(bool isDtors);
|
||||
/// 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(Module *module, bool isDtors);
|
||||
|
||||
|
||||
/// runFunctionAsMain - This is a helper function which wraps runFunction to
|
||||
|
||||
Reference in New Issue
Block a user