[all-commits] [llvm/llvm-project] 3f3db1: [lldb/crashlog] Add `-V|--version` option

Med Ismail Bennani via All-commits all-commits at lists.llvm.org
Wed Aug 10 16:19:05 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f3db135251c85503fde681dd34e8ced0606aee2
      https://github.com/llvm/llvm-project/commit/3f3db135251c85503fde681dd34e8ced0606aee2
  Author: Med Ismail Bennani <medismail.bennani at gmail.com>
  Date:   2022-08-10 (Wed, 10 Aug 2022)

  Changed paths:
    M lldb/examples/python/crashlog.py
    M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/interactive_crashlog_invalid_target.test

  Log Message:
  -----------
  [lldb/crashlog] Add `-V|--version` option

This patch introduces a new option to the crashlog command to get the
the script version.

Since `crashlog.py` is not actually versioned, this returns lldb's
version instead.

rdar://98392669

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

Signed-off-by: Med Ismail Bennani <medismail.bennani at gmail.com>




More information about the All-commits mailing list