LLVM: llvm::JITEventListener Class Reference (original) (raw)
JITEventListener - Abstract interface for use by the JIT to notify clients about significant events during compilation. More...
#include "[llvm/ExecutionEngine/JITEventListener.h](JITEventListener%5F8h%5Fsource.html)"
| 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 41 of file JITEventListener.h.
◆ ObjectKey
| llvm::JITEventListener::JITEventListener ( ) | default |
|---|
◆ ~JITEventListener()
| virtual llvm::JITEventListener::~JITEventListener ( ) | virtualdefault |
|---|
◆ createGDBRegistrationListener()
| JITEventListener * llvm::JITEventListener::createGDBRegistrationListener ( ) | static |
|---|
◆ createIntelJITEventListener() [1/2]
| JITEventListener * llvm::JITEventListener::createIntelJITEventListener ( ) | inlinestatic |
|---|
◆ createIntelJITEventListener() [2/2]
◆ createOProfileJITEventListener() [1/2]
| JITEventListener * llvm::JITEventListener::createOProfileJITEventListener ( ) | inlinestatic |
|---|
◆ createOProfileJITEventListener() [2/2]
◆ createPerfJITEventListener()
| JITEventListener * llvm::JITEventListener::createPerfJITEventListener ( ) | inlinestatic |
|---|
◆ notifyFreeingObject()
| virtual void llvm::JITEventListener::notifyFreeingObject ( ObjectKey K) | inlinevirtual |
|---|
notifyFreeingObject - Called just before the memory associated with a previously emitted object is released.
Definition at line 62 of file JITEventListener.h.
◆ notifyObjectLoaded()
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.
The documentation for this class was generated from the following files:
- include/llvm/ExecutionEngine/JITEventListener.h
- lib/ExecutionEngine/ExecutionEngine.cpp
- lib/ExecutionEngine/GDBRegistrationListener.cpp
- lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener.cpp
- lib/ExecutionEngine/OProfileJIT/OProfileJITEventListener.cpp
- lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp