[all-commits] [llvm/llvm-project] 760298: [lldb] Specify aguments of `image list`

Dave Lee via All-commits all-commits at lists.llvm.org
Mon May 23 11:01:09 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 760298adc264f9c1029d93ab38711c131e19a2f4
      https://github.com/llvm/llvm-project/commit/760298adc264f9c1029d93ab38711c131e19a2f4
  Author: Dave Lee <davelee.com at gmail.com>
  Date:   2022-05-23 (Mon, 23 May 2022)

  Changed paths:
    M lldb/source/Commands/CommandObjectTarget.cpp
    M lldb/test/API/commands/help/TestHelp.py

  Log Message:
  -----------
  [lldb] Specify aguments of `image list`

Register positional argument details in `CommandObjectTargetModulesList`.

I recently learned that `image list` takes a module name, but the help info
does not indicate this. With this change, `help image list` will show that it
accepts zero or more module names.

This makes it easier to get info about specific modules, without having to
find/grep through the full image list.

Reviewed By: DavidSpickett

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




More information about the All-commits mailing list