//===- CLOptionsSetup.h - Helpers to setup debug CL options -----*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef MLIR_DEBUG_CLOPTIONSSETUP_H #define MLIR_DEBUG_CLOPTIONSSETUP_H #include "mlir/Debug/BreakpointManagers/FileLineColLocBreakpointManager.h" #include "llvm/ADT/StringRef.h" #include <memory> namespace mlir { class MLIRContext; namespace tracing { class BreakpointManager; class DebugConfig { … }; /// This is a RAII class that installs the debug handlers on the context /// based on the provided configuration. class InstallDebugHandler { … }; } // namespace tracing } // namespace mlir #endif // MLIR_DEBUG_CLOPTIONSSETUP_H