LLVM
12.0.0git
|
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 41 of file JITEventListener.h.
using llvm::JITEventListener::ObjectKey = uint64_t |
Definition at line 43 of file JITEventListener.h.
|
default |
|
virtualdefault |
|
static |
Definition at line 229 of file GDBRegistrationListener.cpp.
Referenced by LLVMCreateGDBRegistrationListener().
|
inlinestatic |
Definition at line 75 of file JITEventListener.h.
Referenced by LLVMCreateIntelJITEventListener().
|
inlinestatic |
Definition at line 77 of file JITEventListener.h.
|
inlinestatic |
Definition at line 91 of file JITEventListener.h.
Referenced by LLVMCreateOProfileJITEventListener().
|
inlinestatic |
Definition at line 93 of file JITEventListener.h.
|
inlinestatic |
Definition at line 102 of file JITEventListener.h.
|
inlinevirtual |
notifyFreeingObject - Called just before the memory associated with a previously emitted object is released.
Definition at line 62 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 57 of file JITEventListener.h.