LLVM
8.0.1
|
JITEventListener - Abstract interface for use by the JIT to notify clients about significant events during compilation. More...
#include "llvm/ExecutionEngine/JITEventListener.h"
Public Types | |
using | ObjectKey = uint64_t |
Public Member Functions | |
JITEventListener ()=default | |
virtual | ~JITEventListener ()=default |
virtual void | notifyObjectLoaded (ObjectKey K, const object::ObjectFile &Obj, const RuntimeDyld::LoadedObjectInfo &L) |
notifyObjectLoaded - Called after an object has had its sections allocated and addresses assigned to all symbols. More... | |
virtual void | notifyFreeingObject (ObjectKey K) |
notifyFreeingObject - Called just before the memory associated with a previously emitted object is released. More... | |
Static Public Member Functions | |
static JITEventListener * | createGDBRegistrationListener () |
static JITEventListener * | createIntelJITEventListener () |
static JITEventListener * | createIntelJITEventListener (IntelJITEventsWrapper *AlternativeImpl) |
static JITEventListener * | createOProfileJITEventListener () |
static JITEventListener * | createOProfileJITEventListener (OProfileWrapper *AlternativeImpl) |
static JITEventListener * | createPerfJITEventListener () |
JITEventListener - Abstract interface for use by the JIT to notify clients about significant events during compilation.
For example, to notify profilers and debuggers that need to know where functions have been emitted.
The default implementation of each method does nothing.
Definition at line 43 of file JITEventListener.h.
using llvm::JITEventListener::ObjectKey = uint64_t |
Definition at line 45 of file JITEventListener.h.
|
default |
|
virtualdefault |
|
static |
Definition at line 230 of file GDBRegistrationListener.cpp.
Referenced by llvm::MCJIT::createJIT(), and LLVMCreateGDBRegistrationListener().
|
inlinestatic |
Definition at line 77 of file JITEventListener.h.
Referenced by LLVMCreateIntelJITEventListener().
|
inlinestatic |
Definition at line 79 of file JITEventListener.h.
|
inlinestatic |
Definition at line 93 of file JITEventListener.h.
Referenced by LLVMCreateOProfileJITEventListener().
|
inlinestatic |
Definition at line 95 of file JITEventListener.h.
|
inlinestatic |
Definition at line 104 of file JITEventListener.h.
References DEFINE_SIMPLE_CONVERSION_FUNCTIONS.
Referenced by LLVMCreatePerfJITEventListener().
|
inlinevirtual |
notifyFreeingObject - Called just before the memory associated with a previously emitted object is released.
Definition at line 64 of file JITEventListener.h.
|
inlinevirtual |
notifyObjectLoaded - Called after an object has had its sections allocated and addresses assigned to all symbols.
Note: Section memory will not have been relocated yet. notifyFunctionLoaded will not be called for individual functions in the object.
ELF-specific information The ObjectImage contains the generated object image with section headers updated to reflect the address at which sections were loaded and with relocations performed in-place on debug sections.
Definition at line 59 of file JITEventListener.h.