Author: Med Ismail Bennani Date: 2022-11-03T14:44:52-07:00 New Revision: 268628cb79b0f8bb0edec86d9d500c16eadd516a
URL: https://github.com/llvm/llvm-project/commit/268628cb79b0f8bb0edec86d9d500c16eadd516a DIFF: https://github.com/llvm/llvm-project/commit/268628cb79b0f8bb0edec86d9d500c16eadd516a.diff LOG: [lldb/Commands] Add newline for extended backtrace thread (NFCI) This adds a new line between the real thread and the extended backtrace thread when it's available. This should improve readability for the user. Signed-off-by: Med Ismail Bennani <medismail.benn...@gmail.com> Added: Modified: lldb/source/Commands/CommandObjectThread.cpp Removed: ################################################################################ diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp index bfe85043f3703..5e817635bbe6b 100644 --- a/lldb/source/Commands/CommandObjectThread.cpp +++ b/lldb/source/Commands/CommandObjectThread.cpp @@ -189,6 +189,7 @@ class CommandObjectThreadBacktrace : public CommandObjectIterateOverThreads { if (ext_thread_sp && ext_thread_sp->IsValid()) { const uint32_t num_frames_with_source = 0; const bool stop_format = false; + strm.PutChar('\n'); if (ext_thread_sp->GetStatus(strm, m_options.m_start, m_options.m_count, num_frames_with_source, stop_format)) { _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits