15 #ifndef LLVM_EXECUTIONENGINE_JITEVENTLISTENER_H
16 #define LLVM_EXECUTIONENGINE_JITEVENTLISTENER_H
19 #include "llvm/Config/llvm-config.h"
21 #include "llvm/Support/DataTypes.h"
26 class MachineFunction;
27 class OProfileWrapper;
28 class IntelJITEventsWrapper;
84 #if LLVM_USE_INTEL_JITEVENTS
98 #endif // USE_INTEL_JITEVENTS
100 #if LLVM_USE_OPROFILE
115 #endif // USE_OPROFILE
117 virtual void anchor();
122 #endif // defined LLVM_EXECUTIONENGINE_JITEVENTLISTENER_H
static JITEventListener * createIntelJITEventListener()
Information about the loaded object.
JITEvent_EmittedFunctionDetails - Helper struct for containing information about a generated machine ...
virtual void NotifyFreeingObject(const object::ObjectFile &Obj)
NotifyFreeingObject - Called just before the memory associated with a previously emitted object is re...
JITEventListener - Abstract interface for use by the JIT to notify clients about significant events d...
static JITEventListener * createGDBRegistrationListener()
This class is the base class for all object file types.
DebugLoc Loc
The new location information.
std::vector< LineStart > LineStarts
The list of line boundary information, sorted by address.
static JITEventListener * createIntelJITEventListener(IntelJITEventsWrapper *AlternativeImpl)
static JITEventListener * createOProfileJITEventListener(OProfileWrapper *AlternativeImpl)
JITEvent_EmittedFunctionDetails EmittedFunctionDetails
virtual ~JITEventListener()
const MachineFunction * MF
The machine function the struct contains information for.
virtual void NotifyObjectEmitted(const object::ObjectFile &Obj, const RuntimeDyld::LoadedObjectInfo &L)
NotifyObjectEmitted - Called after an object has been successfully emitted to memory.
uintptr_t Address
The address at which the current line changes.
static JITEventListener * createOProfileJITEventListener()