LLVM API Documentation
#include "JIT.h"
#include "llvm/System/DynamicLibrary.h"
#include "llvm/Config/config.h"
#include <iostream>
Include dependency graph for Intercept.cpp:
Go to the source code of this file.
Functions | |
static void | runAtExitHandlers () |
static void | __mainFunc () |
static void | jit_exit (int Status) |
static int | jit_atexit (void(*Fn)(void)) |
Variables | |
static std::vector< void(*)()> | AtExitHandlers |
static void __mainFunc | ( | ) | [static] |
static int jit_atexit | ( | void(*)(void) | Fn | ) | [static] |
Definition at line 81 of file Intercept.cpp.
References AtExitHandlers.
Referenced by llvm::JIT::getPointerToNamedFunction().
static void jit_exit | ( | int | Status | ) | [static] |
Definition at line 75 of file Intercept.cpp.
References runAtExitHandlers().
Referenced by llvm::JIT::getPointerToNamedFunction().
static void runAtExitHandlers | ( | ) | [static] |
runAtExitHandlers - Run any functions registered by the program's calls to atexit(3), which we intercept and store in AtExitHandlers.
Definition at line 32 of file Intercept.cpp.
References AtExitHandlers.
Referenced by jit_exit().
std::vector<void (*)()> AtExitHandlers [static] |