LLDB  mainline
LogChannelDWARF.h
Go to the documentation of this file.
1 //===-- LogChannelDWARF.h ---------------------------------------*- C++ -*-===//
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-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_LOGCHANNELDWARF_H
10 #define LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_LOGCHANNELDWARF_H
11 
12 #include "lldb/Utility/Log.h"
13 #include "llvm/ADT/BitmaskEnum.h"
14 
15 namespace lldb_private {
16 
17 enum class DWARFLog : Log::MaskType {
18  DebugInfo = Log::ChannelFlag<0>,
19  DebugLine = Log::ChannelFlag<1>,
20  DebugMap = Log::ChannelFlag<2>,
21  Lookups = Log::ChannelFlag<3>,
22  TypeCompletion = Log::ChannelFlag<4>,
24 };
26 
28 public:
29  static void Initialize();
30  static void Terminate();
31 };
32 
34 } // namespace lldb_private
35 
36 #endif // LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_LOGCHANNELDWARF_H
lldb_private::DWARFLog
DWARFLog
Definition: LogChannelDWARF.h:17
lldb_private::DWARFLog::DebugMap
@ DebugMap
lldb_private::LogChannelFor< DWARFLog >
Log::Channel & LogChannelFor< DWARFLog >()
Definition: LogChannelDWARF.cpp:27
lldb_private::DWARFLog::TypeCompletion
@ TypeCompletion
lldb_private::LogChannelDWARF::Terminate
static void Terminate()
Definition: LogChannelDWARF.cpp:35
Log.h
lldb_private::DWARFLog::DebugLine
@ DebugLine
lldb_private::LLDBLog::LLVM_MARK_AS_BITMASK_ENUM
@ LLVM_MARK_AS_BITMASK_ENUM
lldb_private::LogChannelDWARF
Definition: LogChannelDWARF.h:27
lldb_private::LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE
LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE()
lldb_private::Log::MaskType
uint64_t MaskType
The underlying type of all log channel enums.
Definition: Log.h:124
lldb_private::Log::Channel
Definition: Log.h:146
lldb_private::LogChannelDWARF::Initialize
static void Initialize()
Definition: LogChannelDWARF.cpp:31
lldb_private::DWARFLog::Lookups
@ Lookups
lldb_private
A class that represents a running process on the host machine.
Definition: SBCommandInterpreterRunOptions.h:16
lldb_private::DWARFLog::DebugInfo
@ DebugInfo