MLIR  20.0.0git
Public Member Functions | List of all members
mlir::tracing::FileLineColLocBreakpointManager Class Reference

This breakpoint manager is responsible for matching FileLineColLocBreakpoint. More...

#include "mlir/Debug/BreakpointManagers/FileLineColLocBreakpointManager.h"

+ Inheritance diagram for mlir::tracing::FileLineColLocBreakpointManager:

Public Member Functions

Breakpointmatch (const Action &action) const override
 Try to match a Breakpoint to a given Action. More...
 
FileLineColLocBreakpointaddBreakpoint (StringRef file, int64_t line, int64_t col=-1)
 
- Public Member Functions inherited from mlir::tracing::BreakpointManagerBase< FileLineColLocBreakpointManager >
 BreakpointManagerBase ()
 
- Public Member Functions inherited from mlir::tracing::BreakpointManager
virtual ~BreakpointManager ()=default
 
TypeID getTypeID () const
 TypeID for the subclass, used for casting purpose. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from mlir::tracing::BreakpointManagerBase< FileLineColLocBreakpointManager >
static bool classof (const BreakpointManager *breakpointManager)
 Provide classof to allow casting between breakpoint manager types. More...
 
- Protected Member Functions inherited from mlir::tracing::BreakpointManager
 BreakpointManager (TypeID typeID)
 
- Protected Attributes inherited from mlir::tracing::BreakpointManager
TypeID typeID
 

Detailed Description

This breakpoint manager is responsible for matching FileLineColLocBreakpoint.

It'll extract the location from the action context looking for a FileLineColLocation, and match it against the registered breakpoints.

Definition at line 60 of file FileLineColLocBreakpointManager.h.

Member Function Documentation

◆ addBreakpoint()

FileLineColLocBreakpoint* mlir::tracing::FileLineColLocBreakpointManager::addBreakpoint ( StringRef  file,
int64_t  line,
int64_t  col = -1 
)
inline

Definition at line 86 of file FileLineColLocBreakpointManager.h.

◆ match()

Breakpoint* mlir::tracing::FileLineColLocBreakpointManager::match ( const Action action) const
inlineoverridevirtual

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.

Implements mlir::tracing::BreakpointManager.

Definition at line 63 of file FileLineColLocBreakpointManager.h.

References mlir::tracing::Action::getContextIRUnits().


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