diff options
author | Med Ismail Bennani <ismail@bennani.ma> | 2024-06-20 17:23:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-20 17:23:18 -0700 |
commit | aafa0ef900791857f55629bcf61c37f53cc0d2af (patch) | |
tree | 12662d3274b6e25fc909de104c561f39b8279349 /clang/lib/Serialization/ModuleFile.cpp | |
parent | d8091522664248a4ba73d8d1e7fa6ac57bfcf67c (diff) | |
download | llvm-aafa0ef900791857f55629bcf61c37f53cc0d2af.zip llvm-aafa0ef900791857f55629bcf61c37f53cc0d2af.tar.gz llvm-aafa0ef900791857f55629bcf61c37f53cc0d2af.tar.bz2 |
[lldb/crashlog] Make interactive mode the new default (#94575)
This patch makes interactive mode as the default when using the crashlog
command. It replaces the existing `-i|--interactive` flag with a new
`-m|--mode` option, that can either be `interactive` or `batch`.
By default, when the option is not explicitely set by the user, the
interactive mode is selected, however, lldb will fallback to batch mode
if the command interpreter is not interactive or if stdout is not a tty.
This also adds some railguards to prevent users from using interactive
only options with the batch mode and updates the tests accordingly.
rdar://97801509
Differential Revision: https://reviews.llvm.org/D141658
Signed-off-by: Med Ismail Bennani <ismail@bennani.ma>
Diffstat (limited to 'clang/lib/Serialization/ModuleFile.cpp')
0 files changed, 0 insertions, 0 deletions