Path: blob/main/contrib/llvm-project/lldb/source/Plugins/Process/POSIX/ProcessPOSIXLog.h
39644 views
//===-- ProcessPOSIXLog.h -----------------------------------------*- C++1//-*-===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//89#ifndef liblldb_ProcessPOSIXLog_h_10#define liblldb_ProcessPOSIXLog_h_1112#include "lldb/Utility/Log.h"13#include "llvm/ADT/BitmaskEnum.h"1415namespace lldb_private {1617enum class POSIXLog : Log::MaskType {18Breakpoints = Log::ChannelFlag<0>,19Memory = Log::ChannelFlag<1>,20Process = Log::ChannelFlag<2>,21Ptrace = Log::ChannelFlag<3>,22Registers = Log::ChannelFlag<4>,23Thread = Log::ChannelFlag<5>,24Watchpoints = Log::ChannelFlag<6>,25Trace = Log::ChannelFlag<7>,26LLVM_MARK_AS_BITMASK_ENUM(Trace)27};28LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE();2930class ProcessPOSIXLog {31public:32static void Initialize();33};3435template <> Log::Channel &LogChannelFor<POSIXLog>();36} // namespace lldb_private3738#endif // liblldb_ProcessPOSIXLog_h_394041