Remove LIBLLDB_LOG_VERBOSE category
Summary: Per discussion in D28616, having two ways two request logging (log enable lldb XXX verbose && log enable -v lldb XXX) is confusing. This removes the first option and standardizes all code to use the second one. I've added a LLDB_LOGV macro as a shorthand for if(log && log->GetVerbose()) and switched most of the affected log statements to use that (I've only left a couple of cases that were doing complex computations in an if(log) block). Reviewers: jingham, zturner Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D29510 llvm-svn: 294113
This commit is contained in:
@@ -174,9 +174,8 @@ ThreadPlanCallFunction::~ThreadPlanCallFunction() {
|
||||
}
|
||||
|
||||
void ThreadPlanCallFunction::ReportRegisterState(const char *message) {
|
||||
Log *log(lldb_private::GetLogIfAllCategoriesSet(LIBLLDB_LOG_STEP |
|
||||
LIBLLDB_LOG_VERBOSE));
|
||||
if (log) {
|
||||
Log *log(lldb_private::GetLogIfAllCategoriesSet(LIBLLDB_LOG_STEP));
|
||||
if (log && log->GetVerbose()) {
|
||||
StreamString strm;
|
||||
RegisterContext *reg_ctx = m_thread.GetRegisterContext().get();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user