[Lldb-commits] [lldb] r294944 - Try to fix windows build (broken by r294939)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 13 03:56:19 PST 2017


Author: labath
Date: Mon Feb 13 05:56:19 2017
New Revision: 294944

URL: http://llvm.org/viewvc/llvm-project?rev=294944&view=rev
Log:
Try to fix windows build (broken by r294939)

log->Debug is gone, switch to using log->Verbose

Modified:
    lldb/trunk/source/Plugins/Process/Windows/Common/DebuggerThread.cpp
    lldb/trunk/source/Plugins/Process/Windows/Common/ProcessWindowsLog.h

Modified: lldb/trunk/source/Plugins/Process/Windows/Common/DebuggerThread.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Windows/Common/DebuggerThread.cpp?rev=294944&r1=294943&r2=294944&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Windows/Common/DebuggerThread.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Windows/Common/DebuggerThread.cpp Mon Feb 13 05:56:19 2017
@@ -282,7 +282,7 @@ void DebuggerThread::DebugLoop() {
   bool should_debug = true;
   WINLOG_IFALL(WINDOWS_LOG_EVENT, "Entering WaitForDebugEvent loop");
   while (should_debug) {
-    WINLOGD_IFALL(WINDOWS_LOG_EVENT, "Calling WaitForDebugEvent");
+    WINLOGV_IFALL(WINDOWS_LOG_EVENT, "Calling WaitForDebugEvent");
     BOOL wait_result = WaitForDebugEvent(&dbe, INFINITE);
     if (wait_result) {
       DWORD continue_status = DBG_CONTINUE;
@@ -331,7 +331,7 @@ void DebuggerThread::DebugLoop() {
         break;
       }
 
-      WINLOGD_IFALL(
+      WINLOGV_IFALL(
           WINDOWS_LOG_EVENT,
           "DebugLoop calling ContinueDebugEvent(%lu, %lu, %lu) on thread %lu.",
           dbe.dwProcessId, dbe.dwThreadId, continue_status,

Modified: lldb/trunk/source/Plugins/Process/Windows/Common/ProcessWindowsLog.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Windows/Common/ProcessWindowsLog.h?rev=294944&r1=294943&r2=294944&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Windows/Common/ProcessWindowsLog.h (original)
+++ lldb/trunk/source/Plugins/Process/Windows/Common/ProcessWindowsLog.h Mon Feb 13 05:56:19 2017
@@ -76,10 +76,6 @@ public:
   WINLOGF_IF(Flags, LogMaskReq::Any, Verbose, __VA_ARGS__)
 #define WINLOGV_IFALL(Flags, ...)                                              \
   WINLOGF_IF(Flags, LogMaskReq::All, Verbose, __VA_ARGS__)
-#define WINLOGD_IFANY(Flags, ...)                                              \
-  WINLOGF_IF(Flags, LogMaskReq::Any, Debug, __VA_ARGS__)
-#define WINLOGD_IFALL(Flags, ...)                                              \
-  WINLOGF_IF(Flags, LogMaskReq::All, Debug, __VA_ARGS__)
 #define WINERR_IFANY(Flags, ...)                                               \
   WINLOGF_IF(Flags, LogMaskReq::Any, Error, __VA_ARGS__)
 #define WINERR_IFALL(Flags, ...)                                               \




More information about the lldb-commits mailing list