MLIR  20.0.0git
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
mlir::tracing::BreakpointManager Class Referenceabstract

A breakpoint manager is responsible for managing a set of breakpoints and matching them to a given action. More...

#include "mlir/Debug/BreakpointManager.h"

+ Inheritance diagram for mlir::tracing::BreakpointManager:

Public Member Functions

virtual ~BreakpointManager ()=default
 
TypeID getTypeID () const
 TypeID for the subclass, used for casting purpose. More...
 
virtual Breakpointmatch (const Action &action) const =0
 Try to match a Breakpoint to a given Action. More...
 

Protected Member Functions

 BreakpointManager (TypeID typeID)
 

Protected Attributes

TypeID typeID
 

Detailed Description

A breakpoint manager is responsible for managing a set of breakpoints and matching them to a given action.

Definition at line 62 of file BreakpointManager.h.

Constructor & Destructor Documentation

◆ ~BreakpointManager()

virtual mlir::tracing::BreakpointManager::~BreakpointManager ( )
virtualdefault

◆ BreakpointManager()

mlir::tracing::BreakpointManager::BreakpointManager ( TypeID  typeID)
inlineprotected

Definition at line 75 of file BreakpointManager.h.

Member Function Documentation

◆ getTypeID()

TypeID mlir::tracing::BreakpointManager::getTypeID ( ) const
inline

TypeID for the subclass, used for casting purpose.

Definition at line 67 of file BreakpointManager.h.

References typeID.

Referenced by mlir::tracing::BreakpointManagerBase< Derived >::classof().

◆ match()

virtual Breakpoint* mlir::tracing::BreakpointManager::match ( const Action action) const
pure virtual

Try to match a Breakpoint to a given Action.

If there is a match and the breakpoint is enabled, return the breakpoint. Otherwise, return nullptr.

Implemented in mlir::tracing::TagBreakpointManager, and mlir::tracing::FileLineColLocBreakpointManager.

Member Data Documentation

◆ typeID

TypeID mlir::tracing::BreakpointManager::typeID
protected

Definition at line 77 of file BreakpointManager.h.

Referenced by getTypeID().


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