[all-commits] [llvm/llvm-project] cb5ea1: [lldb] Add long help to `crashlog`

Dave Lee via All-commits all-commits at lists.llvm.org
Thu Jan 13 11:10:00 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cb5ea132d2eee8f83207633794256939dd8d8082
      https://github.com/llvm/llvm-project/commit/cb5ea132d2eee8f83207633794256939dd8d8082
  Author: Dave Lee <davelee.com at gmail.com>
  Date:   2022-01-13 (Thu, 13 Jan 2022)

  Changed paths:
    M lldb/examples/python/crashlog.py

  Log Message:
  -----------
  [lldb] Add long help to `crashlog`

Convert the `crashlog` command to be implemented as a class. The `Symbolicate`
function is switched to a class, to implement `get_long_help`. The text for the
long help comes from the help output generated by `OptionParser`. That is, the
output of `help crashlog` is the same as `crashlog --help`.

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




More information about the All-commits mailing list