summaryrefslogtreecommitdiff
path: root/mlir/lib/Debug/CLOptionsSetup.cpp
AgeCommit message (Collapse)Author
2025-04-08[MLIR][mlir-opt] move action debugger hook flag (#134842)Christopher McGirr
Currently if a developer uses the flag `--mlir-enable-debugger-hook` the debugger hook is not actually enabled. It seems the DebugConfig and the MainMLIROptConfig are not connected. To fix this we can move the `enableDebuggerHook` CL Option to the DebugConfigCLOptions struct so that it can get registered and enabled along with the other debugger flags. AFAICS there are no other uses of the flag so this should be safe. This also adds a small LIT test to check that the hook is enabled by checking the std::cerr output for the log message.
2024-06-21[mlir] Add missing ManagedStatic.h includes (NFC)Nikita Popov
2024-01-15Apply clang-tidy fixes for readability-identifier-naming in ↵Mehdi Amini
CLOptionsSetup.cpp (NFC)
2023-10-02[mlir] Add an Observer for profiling actions to a stream. (#67251)Antonio Cortes Perez
The profile is stored in the Chrome trace event format. Added the --profile-action-to=<file> option to mlir-opt.
2023-04-24[MLIR] Fix build, obivous typos in cca510640Mehdi Amini
2023-04-24Refactor the mlir-opt command line options related to debugging in a helperMehdi Amini
This makes it reusable across various tooling and reduces the amount of boilerplate needed. Differential Revision: https://reviews.llvm.org/D144818