LLVM  3.7.0
Public Types | Public Member Functions | Static Public Member Functions | List of all members
llvm::JITEventListener Class Reference

JITEventListener - Abstract interface for use by the JIT to notify clients about significant events during compilation. More...

#include <JITEventListener.h>

Public Types

typedef
JITEvent_EmittedFunctionDetails 
EmittedFunctionDetails
 

Public Member Functions

 JITEventListener ()
 
virtual ~JITEventListener ()
 
virtual void NotifyObjectEmitted (const object::ObjectFile &Obj, const RuntimeDyld::LoadedObjectInfo &L)
 NotifyObjectEmitted - Called after an object has been successfully emitted to memory. More...
 
virtual void NotifyFreeingObject (const object::ObjectFile &Obj)
 NotifyFreeingObject - Called just before the memory associated with a previously emitted object is released. More...
 

Static Public Member Functions

static JITEventListenercreateGDBRegistrationListener ()
 
static JITEventListenercreateIntelJITEventListener ()
 
static JITEventListenercreateIntelJITEventListener (IntelJITEventsWrapper *AlternativeImpl)
 
static JITEventListenercreateOProfileJITEventListener ()
 
static JITEventListenercreateOProfileJITEventListener (OProfileWrapper *AlternativeImpl)
 

Detailed Description

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 58 of file JITEventListener.h.

Member Typedef Documentation

Definition at line 60 of file JITEventListener.h.

Constructor & Destructor Documentation

llvm::JITEventListener::JITEventListener ( )
inline

Definition at line 63 of file JITEventListener.h.

virtual llvm::JITEventListener::~JITEventListener ( )
inlinevirtual

Definition at line 64 of file JITEventListener.h.

Member Function Documentation

JITEventListener * llvm::JITEventListener::createGDBRegistrationListener ( )
static

Definition at line 243 of file GDBRegistrationListener.cpp.

JITEventListener * llvm::JITEventListener::createIntelJITEventListener ( )
inlinestatic

Definition at line 92 of file JITEventListener.h.

JITEventListener * llvm::JITEventListener::createIntelJITEventListener ( IntelJITEventsWrapper AlternativeImpl)
inlinestatic

Definition at line 94 of file JITEventListener.h.

JITEventListener * llvm::JITEventListener::createOProfileJITEventListener ( )
inlinestatic

Definition at line 109 of file JITEventListener.h.

static JITEventListener* llvm::JITEventListener::createOProfileJITEventListener ( OProfileWrapper AlternativeImpl)
inlinestatic

Definition at line 111 of file JITEventListener.h.

virtual void llvm::JITEventListener::NotifyFreeingObject ( const object::ObjectFile Obj)
inlinevirtual

NotifyFreeingObject - Called just before the memory associated with a previously emitted object is released.

Definition at line 79 of file JITEventListener.h.

virtual void llvm::JITEventListener::NotifyObjectEmitted ( const object::ObjectFile Obj,
const RuntimeDyld::LoadedObjectInfo L 
)
inlinevirtual

NotifyObjectEmitted - Called after an object has been successfully emitted to memory.

NotifyFunctionEmitted 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 74 of file JITEventListener.h.


The documentation for this class was generated from the following files: