MLIR
20.0.0git
|
This breakpoing intends to match a FileLineColLocation, that is a tuple of file name, line number, and column number. More...
#include "mlir/Debug/BreakpointManagers/FileLineColLocBreakpointManager.h"
Public Member Functions | |
FileLineColLocBreakpoint (StringRef file, int64_t line, int64_t col) | |
void | print (raw_ostream &os) const override |
Public Member Functions inherited from mlir::tracing::Breakpoint | |
virtual | ~Breakpoint ()=default |
TypeID | getTypeID () const |
TypeID for the subclass, used for casting purpose. More... | |
bool | isEnabled () const |
void | enable () |
void | disable () |
Static Public Member Functions | |
static FailureOr< std::tuple< StringRef, int64_t, int64_t > > | parseFromString (StringRef str, llvm::function_ref< void(Twine)> diag=[](Twine) {}) |
Parse a string representation in the form of "<file>:<line>:<col>". More... | |
Static Public Member Functions inherited from mlir::tracing::BreakpointBase< FileLineColLocBreakpoint > | |
static bool | classof (const Breakpoint *breakpoint) |
Support isa/dyn_cast functionality for the derived pass class. More... | |
Friends | |
class | FileLineColLocBreakpointManager |
Additional Inherited Members | |
Protected Member Functions inherited from mlir::tracing::BreakpointBase< FileLineColLocBreakpoint > | |
BreakpointBase () | |
Protected Member Functions inherited from mlir::tracing::Breakpoint | |
Breakpoint (TypeID typeID) | |
This breakpoing intends to match a FileLineColLocation, that is a tuple of file name, line number, and column number.
Using -1 for the column and the line number will match any column and line number respectively.
Definition at line 27 of file FileLineColLocBreakpointManager.h.
|
inline |
Definition at line 30 of file FileLineColLocBreakpointManager.h.
|
static |
Parse a string representation in the form of "<file>:<line>:<col>".
Return a tuple with these three elements, the first one is a StringRef pointing into the original string.
Definition at line 17 of file FileLineColLocBreakpointManager.cpp.
References diag().
|
inlineoverridevirtual |
Implements mlir::tracing::Breakpoint.
Definition at line 33 of file FileLineColLocBreakpointManager.h.
|
friend |
Definition at line 53 of file FileLineColLocBreakpointManager.h.