diff options
author | Ed Maste <emaste@freebsd.org> | 2014-06-25 00:38:35 +0000 |
---|---|---|
committer | Ed Maste <emaste@freebsd.org> | 2014-06-25 00:38:35 +0000 |
commit | 2bc7643d10e29f3133fc34ea256a3467e1716194 (patch) | |
tree | 9348d774bdd54fde2a8d81deda6e3e3c83fa9502 /lldb/source/Target/Thread.cpp | |
parent | 6d8d22ae404cc857782c422e1f53c7d4a3d9311f (diff) | |
download | llvm-2bc7643d10e29f3133fc34ea256a3467e1716194.zip llvm-2bc7643d10e29f3133fc34ea256a3467e1716194.tar.gz llvm-2bc7643d10e29f3133fc34ea256a3467e1716194.tar.bz2 |
Remove extra newline from log Printf
Clean up this one specifically, as it has the effect of double-spacing
the list of thread stop reasons, and substantially bloats the log file
when opening a core with hundreds of threads.
There are other cases of extra newlines. Some of them do increase
readability, so avoid a general sweep for now.
llvm-svn: 211655
Diffstat (limited to 'lldb/source/Target/Thread.cpp')
-rw-r--r-- | lldb/source/Target/Thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/Thread.cpp b/lldb/source/Target/Thread.cpp index 400d992..c5c3698 100644 --- a/lldb/source/Target/Thread.cpp +++ b/lldb/source/Target/Thread.cpp @@ -500,7 +500,7 @@ Thread::SetStopInfo (const lldb::StopInfoSP &stop_info_sp) m_stop_info_stop_id = UINT32_MAX; Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_THREAD)); if (log) - log->Printf("%p: tid = 0x%" PRIx64 ": stop info = %s (stop_id = %u)\n", + log->Printf("%p: tid = 0x%" PRIx64 ": stop info = %s (stop_id = %u)", static_cast<void*>(this), GetID(), stop_info_sp ? stop_info_sp->GetDescription() : "<NULL>", m_stop_info_stop_id); |