Author: Pavel Labath Date: 2022-02-03T18:06:55+01:00 New Revision: 359a2deb6fc4a982bd513bc5fb3faeac0cb648ef
URL: https://github.com/llvm/llvm-project/commit/359a2deb6fc4a982bd513bc5fb3faeac0cb648ef DIFF: https://github.com/llvm/llvm-project/commit/359a2deb6fc4a982bd513bc5fb3faeac0cb648ef.diff LOG: [lldb] Fix windows&mac builds for c34698a811b13 Added: Modified: lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDPLog.h lldb/source/Plugins/Process/Windows/Common/ProcessWindowsLog.h Removed: ################################################################################ diff --git a/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDPLog.h b/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDPLog.h index 78333442ef450..ec3c9e49e2d9e 100644 --- a/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDPLog.h +++ b/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDPLog.h @@ -10,7 +10,7 @@ #define LLDB_SOURCE_PLUGINS_PROCESS_MACOSX_KERNEL_PROCESSKDPLOG_H #include "lldb/Utility/Log.h" - +#include "llvm/ADT/BitmaskEnum.h" namespace lldb_private { @@ -28,6 +28,7 @@ enum class KDPLog : Log::MaskType { Watchpoints = Log::ChannelFlag<10>, LLVM_MARK_AS_BITMASK_ENUM(Watchpoints) }; +LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE(); class ProcessKDPLog { public: diff --git a/lldb/source/Plugins/Process/Windows/Common/ProcessWindowsLog.h b/lldb/source/Plugins/Process/Windows/Common/ProcessWindowsLog.h index 976591abc54aa..41dd05d615d81 100644 --- a/lldb/source/Plugins/Process/Windows/Common/ProcessWindowsLog.h +++ b/lldb/source/Plugins/Process/Windows/Common/ProcessWindowsLog.h @@ -10,6 +10,7 @@ #define liblldb_ProcessWindowsLog_h_ #include "lldb/Utility/Log.h" +#include "llvm/ADT/BitmaskEnum.h" namespace lldb_private { @@ -24,6 +25,7 @@ enum class WindowsLog : Log::MaskType { Thread = Log::ChannelFlag<7>, // Log thread operations LLVM_MARK_AS_BITMASK_ENUM(Thread) }; +LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE(); class ProcessWindowsLog { public: _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits