forked from OSchip/llvm-project
Try to fix windows build (broken by r294939)
log->Debug is gone, switch to using log->Verbose llvm-svn: 294944
This commit is contained in:
parent
828dee1f70
commit
45889a28e2
|
@ -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,
|
||||
|
|
|
@ -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, ...) \
|
||||
|
|
Loading…
Reference in New Issue