This revision was automatically updated to reflect the committed changes.
Closed by commit rGfc0e8fb7874a: [lldb][gui] truncate long lines/names if
needed (authored by llunak).
Herald added a project: LLDB.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.or
llunak updated this revision to Diff 283155.
llunak added a comment.
Use SteamString.
Repository:
rLLDB LLDB
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85123/new/
https://reviews.llvm.org/D85123
Files:
lldb/source/Core/IOHandlerCursesGUI.cpp
lldb/test/API/commands/gui/viewlar
clayborg added inline comments.
Comment at: lldb/source/Core/IOHandlerCursesGUI.cpp:438-450
+va_list args;
+va_start(args, format);
+int size = vsnprintf(nullptr, 0, format, args);
+va_end(args);
+if (size <= 0)
+ return;
+++size; // for \0
--
llunak updated this revision to Diff 282607.
llunak added a comment.
Handle properly also the "<<< Thread 1: breakpoint 1.1" marker.
Repository:
rLLDB LLDB
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85123/new/
https://reviews.llvm.org/D85123
Files:
lldb/source/Core/IOHandlerCu
llunak created this revision.
llunak added a reviewer: clayborg.
llunak requested review of this revision.
Without this, sources with long lines or variable names may overwrite panel
frames, or even overrun to the following line. There's currently no way to
scroll left/right in the views, so tha