[lldb/crashlog] Add `-s|--skip-status` option to interactive mode
authorMed Ismail Bennani <medismail.bennani@gmail.com>
Wed, 3 Aug 2022 00:29:01 +0000 (17:29 -0700)
committerMed Ismail Bennani <medismail.bennani@gmail.com>
Wed, 10 Aug 2022 04:01:37 +0000 (21:01 -0700)
commit41c1a5f9bdc4cb6914e7971f50e4f45aeb11e087
tree7e5e0050688cf5eba428eb0a3535548da407e30e
parent13aa780f37e193d8c23a6c5ff98cc4c7febc1f95
[lldb/crashlog] Add `-s|--skip-status` option to interactive mode

This patch introduces a new option for the interactive crashlog mode,
that will prevent it from dumping the `process status` & `thread backtrace`
output to the debugger console.

This is necessary when lldb in running from an IDE, to prevent flooding
the console with information that should be already present in the UI.

rdar://96813296

Differential Revision: https://reviews.llvm.org/D131036

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
lldb/examples/python/crashlog.py
lldb/test/Shell/ScriptInterpreter/Python/Crashlog/skipped_status_interactive_crashlog.test [new file with mode: 0644]