summaryrefslogtreecommitdiff
path: root/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/no-args.test
AgeCommit message (Collapse)Author
2023-08-23[lldb/test] Fix `Crashlog/no-args.test` on ASAN builds (NFC)Med Ismail Bennani
This should fix the Sanitizer Green Dragon LLDB Bot: https://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake-sanitized/4633 Signed-off-by: Med Ismail Bennani <ismail@bennani.ma>
2023-08-18[lldb/crashlog] Replace deprecated optparse by argparse (NFC)Med Ismail Bennani
This patch replace the deprecated `optparse` module used for the `crashlog`& `save_crashlog` commands with the new `argparse` from the python standard library. This provides many benefits such as showing the default values for each option in the help description, but also greatly improve the handling of position arguments. Differential Revision: https://reviews.llvm.org/D157849 Signed-off-by: Med Ismail Bennani <ismail@bennani.ma>
2022-06-10[lldb/crashlog] Show help when the command is called without any argumentMed Ismail Bennani
This patch changes the `crashlog` command behavior to print the help message if no argument was provided with the command. rdar://94576026 Differential Revision: https://reviews.llvm.org/D127362 Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>