class JITEventListener

Declaration

class JITEventListener { /* full declaration omitted */ };

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.

Declared at: llvm/include/llvm/ExecutionEngine/JITEventListener.h:40

Method Overview

Methods

JITEventListener()

Declared at: llvm/include/llvm/ExecutionEngine/JITEventListener.h:44

virtual void anchor()

Declared at: llvm/include/llvm/ExecutionEngine/JITEventListener.h:108

static llvm::JITEventListener*
createGDBRegistrationListener()

Declared at: llvm/include/llvm/ExecutionEngine/JITEventListener.h:64

static llvm::JITEventListener*
createIntelJITEventListener()

Declared at: llvm/include/llvm/ExecutionEngine/JITEventListener.h:74

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

Declared at: llvm/include/llvm/ExecutionEngine/JITEventListener.h:76

Parameters

llvm::IntelJITEventsWrapper* AlternativeImpl

static llvm::JITEventListener*
createOProfileJITEventListener()

Declared at: llvm/include/llvm/ExecutionEngine/JITEventListener.h:90

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

Declared at: llvm/include/llvm/ExecutionEngine/JITEventListener.h:92

Parameters

llvm::OProfileWrapper* AlternativeImpl

static llvm::JITEventListener*
createPerfJITEventListener()

Declared at: llvm/include/llvm/ExecutionEngine/JITEventListener.h:101

virtual void notifyFreeingObject(
    llvm::JITEventListener::ObjectKey K)

Description

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

Declared at: llvm/include/llvm/ExecutionEngine/JITEventListener.h:61

Parameters

llvm::JITEventListener::ObjectKey K

virtual void notifyObjectLoaded(
    llvm::JITEventListener::ObjectKey K,
    const object::ObjectFile& Obj,
    const RuntimeDyld::LoadedObjectInfo& L)

Description

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.

Declared at: llvm/include/llvm/ExecutionEngine/JITEventListener.h:56

Parameters

llvm::JITEventListener::ObjectKey K
const object::ObjectFile& Obj
const RuntimeDyld::LoadedObjectInfo& L

virtual ~JITEventListener()

Declared at: llvm/include/llvm/ExecutionEngine/JITEventListener.h:45