[Lldb-commits] [lldb] 8585bf7 - [lldb/crashlog] Update incorrect help message for `--no-crashed-only` option (#91162)

via lldb-commits lldb-commits at lists.llvm.org
Thu May 9 10:19:37 PDT 2024


Author: Med Ismail Bennani
Date: 2024-05-09T10:19:34-07:00
New Revision: 8585bf7542f1098bd03a667a408d42d2a815d305

URL: https://github.com/llvm/llvm-project/commit/8585bf7542f1098bd03a667a408d42d2a815d305
DIFF: https://github.com/llvm/llvm-project/commit/8585bf7542f1098bd03a667a408d42d2a815d305.diff

LOG: [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 at bennani.ma>

Added: 
    

Modified: 
    lldb/examples/python/crashlog.py

Removed: 
    


################################################################################
diff  --git a/lldb/examples/python/crashlog.py b/lldb/examples/python/crashlog.py
index d147d0e322a3..eb9af6ed3d95 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",


        


More information about the lldb-commits mailing list