[Lldb-commits] [PATCH] D135622: [lldb] Add a "diagnostics dump" command

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 10 15:05:38 PDT 2022


JDevlieghere created this revision.
JDevlieghere added reviewers: labath, DavidSpickett, clayborg, jingham.
Herald added a project: All.
JDevlieghere requested review of this revision.

Add a "diagnostics dump" command to, as the name implies, dump the diagnostics to disk. The goal of this command is to let the user generate the diagnostics in case of an issue that doesn't cause the debugger to crash. This is also useful for testing.


https://reviews.llvm.org/D135622

Files:
  lldb/include/lldb/Utility/Diagnostics.h
  lldb/source/Commands/CMakeLists.txt
  lldb/source/Commands/CommandObjectDiagnostics.cpp
  lldb/source/Commands/CommandObjectDiagnostics.h
  lldb/source/Commands/Options.td
  lldb/source/Interpreter/CommandInterpreter.cpp
  lldb/source/Utility/Diagnostics.cpp
  lldb/test/Shell/Diagnostics/TestAlwaysOnLog.test
  lldb/test/Shell/Diagnostics/TestDump.test
  lldb/test/Shell/Diagnostics/TestStats.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135622.466639.patch
Type: text/x-patch
Size: 10813 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20221010/5a7f124e/attachment-0001.bin>


More information about the lldb-commits mailing list