This is an archive of the discontinued LLVM Phabricator instance.

[lldb] tab completion for `target modules load -u`
ClosedPublic

Authored by MrHate on Jul 18 2020, 10:36 PM.

Details

Summary
  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.

Diff Detail

Event Timeline

MrHate created this revision.Jul 18 2020, 10:36 PM
MrHate retitled this revision from [lldb] tab completion for `target module load -u` to [lldb] tab completion for `target modules load -u`.
teemperor accepted this revision.Jul 19 2020, 10:20 PM

LGTM, thanks!

This revision is now accepted and ready to land.Jul 19 2020, 10:20 PM
JDevlieghere accepted this revision.Jul 22 2020, 9:55 AM