aboutsummaryrefslogtreecommitdiff
path: root/lldb/examples/python/crashlog.py
diff options
context:
space:
mode:
authorMed Ismail Bennani <ismail@bennani.ma>2024-05-09 10:19:34 -0700
committerGitHub <noreply@github.com>2024-05-09 10:19:34 -0700
commit8585bf7542f1098bd03a667a408d42d2a815d305 (patch)
treea0bf8cac69fff7a7d43f71ac46147c35ca5688a2 /lldb/examples/python/crashlog.py
parent22c59e01cd2f87164301415c93b60fc3c204dfb8 (diff)
downloadllvm-8585bf7542f1098bd03a667a408d42d2a815d305.zip
llvm-8585bf7542f1098bd03a667a408d42d2a815d305.tar.gz
llvm-8585bf7542f1098bd03a667a408d42d2a815d305.tar.bz2
[lldb/crashlog] Update incorrect help message for `--no-crashed-only` option (#91162)
This patch rephrases the crashlog `--no-crashed-only` option help message. This option is mainly used in batch mode to symbolicate and dump all the threads backtraces, instead of only doing it for the crashed thread which is the default behavior. rdar://127391524 Signed-off-by: Med Ismail Bennani <ismail@bennani.ma>
Diffstat (limited to 'lldb/examples/python/crashlog.py')
-rwxr-xr-xlldb/examples/python/crashlog.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/examples/python/crashlog.py b/lldb/examples/python/crashlog.py
index d147d0e..eb9af6e 100755
--- a/lldb/examples/python/crashlog.py
+++ b/lldb/examples/python/crashlog.py
@@ -1649,7 +1649,8 @@ def CreateSymbolicateCrashLogOptions(
"--no-crashed-only",
action="store_false",
dest="crashed_only",
- help="do not symbolicate the crashed thread",
+ help="in batch mode, symbolicate all threads, not only the crashed one",
+ default=False,
)
arg_parser.add_argument(
"--disasm-depth",