opnsense-src/contrib/llvm-project/lldb/source/Plugins/Process/POSIX/ProcessPOSIXLog.h
Dimitry Andric 04eeddc0aa Merge llvm-project main llvmorg-14-init-17616-g024a1fab5c35
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14-init-17616-g024a1fab5c35.

PR:		261742
MFC after:	2 weeks
2022-05-14 13:44:34 +02:00

37 lines
1,007 B
C++

//===-- ProcessPOSIXLog.h -----------------------------------------*- 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 liblldb_ProcessPOSIXLog_h_
#define liblldb_ProcessPOSIXLog_h_
#include "lldb/Utility/Log.h"
namespace lldb_private {
enum class POSIXLog : Log::MaskType {
Breakpoints = Log::ChannelFlag<0>,
Memory = Log::ChannelFlag<1>,
Process = Log::ChannelFlag<2>,
Ptrace = Log::ChannelFlag<3>,
Registers = Log::ChannelFlag<4>,
Thread = Log::ChannelFlag<5>,
Watchpoints = Log::ChannelFlag<6>,
LLVM_MARK_AS_BITMASK_ENUM(Watchpoints)
};
class ProcessPOSIXLog {
public:
static void Initialize();
};
template <> Log::Channel &LogChannelFor<POSIXLog>();
} // namespace lldb_private
#endif // liblldb_ProcessPOSIXLog_h_