LLVM API Documentation
#include "llvm/ExecutionEngine/JITMemoryManager.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Config/config.h"
#include "llvm/IR/GlobalValue.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/DynamicLibrary.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/Memory.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
#include <climits>
#include <cstring>
#include <vector>
Go to the source code of this file.
Defines | |
#define | DEBUG_TYPE "jit" |
Functions | |
STATISTIC (NumSlabs,"Number of slabs of memory allocated by the JIT") | |
static void | runAtExitHandlers () |
static void | jit_exit (int Status) |
static int | jit_atexit (void(*Fn)()) |
static int | jit_noop () |
Variables | |
static std::vector< void(*)()> | AtExitHandlers |
#define DEBUG_TYPE "jit" |
Definition at line 42 of file JITMemoryManager.cpp.
static int jit_atexit | ( | void(*)() | Fn | ) | [static] |
Definition at line 823 of file JITMemoryManager.cpp.
References AtExitHandlers.
Definition at line 817 of file JITMemoryManager.cpp.
References runAtExitHandlers().
Definition at line 828 of file JITMemoryManager.cpp.
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 773 of file JITMemoryManager.cpp.
References AtExitHandlers.
Referenced by jit_exit().
STATISTIC | ( | NumSlabs | , |
"Number of slabs of memory allocated by the JIT" | |||
) |
std::vector<void (*)()> AtExitHandlers [static] |
Definition at line 767 of file JITMemoryManager.cpp.
Referenced by jit_atexit(), and runAtExitHandlers().