Break some dependencies in lldbUtility.

Differential Revision: https://reviews.llvm.org/D29359

llvm-svn: 293806
This commit is contained in:
Zachary Turner
2017-02-01 19:45:14 +00:00
parent 5569c0b953
commit df44988b87
25 changed files with 1031 additions and 1423 deletions

View File

@@ -22,7 +22,6 @@
#include "lldb/Target/Thread.h"
#include "lldb/Target/ThreadList.h"
#include "lldb/Target/ThreadPlan.h"
#include "lldb/Utility/ConvertEnum.h"
#include "lldb/Utility/LLDBAssert.h"
using namespace lldb;
@@ -384,18 +383,14 @@ Vote ThreadList::ShouldReportStop(Event *event_ptr) {
if (result == eVoteNoOpinion) {
result = eVoteNo;
} else {
if (log)
log->Printf("ThreadList::%s thread 0x%4.4" PRIx64
": voted %s, but lost out because result was %s",
__FUNCTION__, thread_sp->GetID(), GetVoteAsCString(vote),
GetVoteAsCString(result));
LLDB_LOG(log,
"Thread {0:x} voted {1}, but lost out because result was {2}",
thread_sp->GetID(), vote, result);
}
break;
}
}
if (log)
log->Printf("ThreadList::%s returning %s", __FUNCTION__,
GetVoteAsCString(result));
LLDB_LOG(log, "Returning {0}", result);
return result;
}