[LoongArch][Clang] Make the parameters and return value of {x,}vorn.v builti ns ...
[llvm-project.git] / lldb / source / Plugins / SymbolFile / DWARF / LogChannelDWARF.h
blob7f254a1162bd106b3f53b1b88b24e1644330f08b
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 //===----------------------------------------------------------------------===//
9 #ifndef LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_LOGCHANNELDWARF_H
10 #define LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_LOGCHANNELDWARF_H
12 #include "lldb/Utility/Log.h"
13 #include "llvm/ADT/BitmaskEnum.h"
15 namespace lldb_private {
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>,
23 SplitDwarf = Log::ChannelFlag<5>,
24 LLVM_MARK_AS_BITMASK_ENUM(TypeCompletion)
26 LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE();
28 class LogChannelDWARF {
29 public:
30 static void Initialize();
31 static void Terminate();
34 template <> Log::Channel &LogChannelFor<DWARFLog>();
35 } // namespace lldb_private
37 #endif // LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_LOGCHANNELDWARF_H