[Lldb-commits] [PATCH] D127986: [lldb] Support a buffered logging mode
Jonas Devlieghere via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Jun 16 20:59:51 PDT 2022
JDevlieghere updated this revision to Diff 437786.
JDevlieghere added a comment.
Generalize support for buffering. You can see it in action below:
(lldb) log enable -b 10 lldb default
(lldb) target create ./bin/count
Current executable set to '/Users/jonas/llvm/build-ra/bin/count' (arm64).
(lldb) b main
Processing command: target create ./bin/count
HandleCommand, cmd_obj : 'target create'
HandleCommand, (revised) command_string: 'target create ./bin/count'
HandleCommand, wants_raw_input:'False'
HandleCommand, command line after removing command name(s): './bin/count'
Target::Target created with architecture arm64 (arm64-apple-macosx12.4.0)
HandleCommand, command succeeded
Processing command: b main
HandleCommand, cmd_obj : '_regexp-break'
HandleCommand, (revised) command_string: '_regexp-break main'
HandleCommand, wants_raw_input:'True'
HandleCommand, command line after removing command name(s): 'main'
Processing command: breakpoint set --name 'main'
...
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127986/new/
https://reviews.llvm.org/D127986
Files:
lldb/include/lldb/Core/Debugger.h
lldb/include/lldb/Utility/Log.h
lldb/source/API/SBDebugger.cpp
lldb/source/Commands/CommandObjectLog.cpp
lldb/source/Commands/Options.td
lldb/source/Core/Debugger.cpp
lldb/source/Utility/Log.cpp
lldb/tools/lldb-test/lldb-test.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127986.437786.patch
Type: text/x-patch
Size: 17110 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220617/a35917b4/attachment.bin>
More information about the lldb-commits
mailing list