[Lldb-commits] [PATCH] D128557: [lldb] Add a log dump command to dump the circular log buffer

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 24 16:38:30 PDT 2022


JDevlieghere marked 4 inline comments as done.
JDevlieghere added a comment.

Thanks for pointing that out. I blindly copied the categories logic from `Log::Disable` which uses it when computing the flags. I've omitted it for now because I think it would be weird to set the circular buffer size to 5 and then have 0 messages printed for the process category because 5 log messages from the commands category pushed them out. One solution would be to keep a circular buffer per category. I'll think about it and if I come up with a good solution I'll put up another patch.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128557/new/

https://reviews.llvm.org/D128557



More information about the lldb-commits mailing list