LLVM 20.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. | |
virtual void | notifyFreeingObject (ObjectKey K) |
notifyFreeingObject - Called just before the memory associated with a previously emitted object is released. | |
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 40 of file JITEventListener.h.
Definition at line 42 of file JITEventListener.h.
|
default |
|
virtualdefault |
|
static |
Definition at line 242 of file GDBRegistrationListener.cpp.
Referenced by LLVMCreateGDBRegistrationListener().
|
inlinestatic |
Definition at line 74 of file JITEventListener.h.
Referenced by LLVMCreateIntelJITEventListener().
|
inlinestatic |
Definition at line 76 of file JITEventListener.h.
|
inlinestatic |
Definition at line 90 of file JITEventListener.h.
Referenced by LLVMCreateOProfileJITEventListener().
|
inlinestatic |
Definition at line 92 of file JITEventListener.h.
|
inlinestatic |
Definition at line 101 of file JITEventListener.h.
Referenced by LLVMCreatePerfJITEventListener().
|
inlinevirtual |
notifyFreeingObject - Called just before the memory associated with a previously emitted object is released.
Definition at line 61 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 56 of file JITEventListener.h.