mirror of
https://github.com/intel/llvm.git
synced 2026-01-17 06:40:01 +08:00
Break some dependencies in lldbUtility.
Differential Revision: https://reviews.llvm.org/D29359 llvm-svn: 293806
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user