[all-commits] [llvm/llvm-project] 419f1b: [lldb] tab completion for `target modules load -u`

Gongyu Deng via All-commits all-commits at lists.llvm.org
Tue Aug 11 03:36:05 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 419f1be7b54ef2c285050c24e4b4c333cb108cfc
      https://github.com/llvm/llvm-project/commit/419f1be7b54ef2c285050c24e4b4c333cb108cfc
  Author: Gongyu Deng <gy_deng at icloud.com>
  Date:   2020-08-11 (Tue, 11 Aug 2020)

  Changed paths:
    M lldb/include/lldb/Interpreter/CommandCompletions.h
    M lldb/include/lldb/lldb-enumerations.h
    M lldb/source/Commands/CommandCompletions.cpp
    M lldb/source/Interpreter/CommandObject.cpp
    M lldb/source/Interpreter/OptionGroupUUID.cpp
    M lldb/test/API/functionalities/completion/TestCompletion.py

  Log Message:
  -----------
  [lldb] tab completion for `target modules load -u`

1. Added a common completion ModuleUUIDs to provide a list of the UUIDs of modules for completion;
2. Added a new enumeration item eArgTypeModuleUUID to CommandArgumentType which is set as the option argument type of OptionGroupUUID;
3. Applied the module UUID completion to the argument of the type eArgTypeModuleUUID in lldb/source/Interpreter/CommandObject.cpp;
4. Added an related test case in lldb/test/API/functionalities/completion/TestCompletion.py.




More information about the All-commits mailing list