aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
diff options
context:
space:
mode:
authorMehdi Amini <joker.eph@gmail.com>2023-01-23 01:14:10 +0000
committerMehdi Amini <joker.eph@gmail.com>2023-03-12 22:20:50 +0100
commitfa51c1753a274fbb7a71d8fe91fd4e5caf2fa4d3 (patch)
treead0a68dfee62e270a81ea9c46952257d708504f3 /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
parent43562287a816c74be390478d32adc0cb4c4abca4 (diff)
downloadllvm-fa51c1753a274fbb7a71d8fe91fd4e5caf2fa4d3.zip
llvm-fa51c1753a274fbb7a71d8fe91fd4e5caf2fa4d3.tar.gz
llvm-fa51c1753a274fbb7a71d8fe91fd4e5caf2fa4d3.tar.bz2
Introduce mlir::tracing::ExecutionContext
This component acts as an action handler that can be registered in the MLIRContext. It is the main orchestration of the infrastructure, and implements support for clients to hook there and snoop on or control the execution. This is the basis to build tracing as well as a "gdb-like" control of the compilation flow. The ExecutionContext acts as a handler in the MLIRContext for executing an Action. When an action is dispatched, it'll query its set of Breakpoints managers for a breakpoint matching this action. If a breakpoint is hit, it passes the action and the breakpoint information to a callback. The callback is responsible for controlling the execution of the action through an enum value it returns. Optionally, observers can be registered to be notified before and after the callback is executed. Differential Revision: https://reviews.llvm.org/D144812
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp')
0 files changed, 0 insertions, 0 deletions