|
LLVM
10.0.0
|
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 42 of file JITEventListener.h.
| using llvm::JITEventListener::ObjectKey = uint64_t |
Definition at line 44 of file JITEventListener.h.
|
default |
|
virtualdefault |
|
static |
Definition at line 229 of file GDBRegistrationListener.cpp.
Referenced by llvm::MCJIT::createJIT(), and LLVMCreateGDBRegistrationListener().
|
inlinestatic |
Definition at line 76 of file JITEventListener.h.
Referenced by LLVMCreateIntelJITEventListener().
|
inlinestatic |
Definition at line 78 of file JITEventListener.h.
|
inlinestatic |
Definition at line 92 of file JITEventListener.h.
Referenced by LLVMCreateOProfileJITEventListener().
|
inlinestatic |
Definition at line 94 of file JITEventListener.h.
|
inlinestatic |
Definition at line 103 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 63 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 58 of file JITEventListener.h.
1.8.13