Add a breakpoint manager that matches based on File/Line/Col Locations
authorMehdi Amini <joker.eph@gmail.com>
Mon, 6 Feb 2023 05:11:30 +0000 (21:11 -0800)
committerMehdi Amini <joker.eph@gmail.com>
Sat, 22 Apr 2023 05:54:20 +0000 (23:54 -0600)
commit7f069f5ef4fee00520ed0c350dca42c3c4b72b61
treebf86745133ef03eda5d860f1c9dc0e89a75833ed
parent2dd396c18bc035f8f87fb7ca2c33b8f00c287759
Add a breakpoint manager that matches based on File/Line/Col Locations

This will match the locations attached to the IRunits passed in as context
with an action.

This is a recommit of d09c80515d0e after fixing the test on Windows.

Differential Revision: https://reviews.llvm.org/D144815
mlir/include/mlir/Debug/BreakpointManagers/FileLineColLocBreakpointManager.h [new file with mode: 0644]
mlir/include/mlir/Debug/Observers/ActionLogging.h
mlir/include/mlir/Tools/mlir-opt/MlirOptMain.h
mlir/lib/Debug/BreakpointManagers/FileLineColLocBreakpointManager.cpp [new file with mode: 0644]
mlir/lib/Debug/CMakeLists.txt
mlir/lib/Debug/Observers/ActionLogging.cpp
mlir/lib/Tools/mlir-opt/MlirOptMain.cpp
mlir/test/Pass/action-logging-filter.mlir [new file with mode: 0644]
mlir/unittests/Debug/CMakeLists.txt
mlir/unittests/Debug/FileLineColLocBreakpointManagerTest.cpp [new file with mode: 0644]