[lldb] tab completion for `target modules load -u`
authorGongyu Deng <gy_deng@icloud.com>
Tue, 11 Aug 2020 10:29:25 +0000 (12:29 +0200)
committerRaphael Isemann <teemperor@gmail.com>
Tue, 11 Aug 2020 10:35:36 +0000 (12:35 +0200)
commit419f1be7b54ef2c285050c24e4b4c333cb108cfc
tree9d3d61f7681ace29da9beea7300be45a0ae4f142
parentd542feb8e49bd3d43363724531c8f65b82d9759f
[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.
lldb/include/lldb/Interpreter/CommandCompletions.h
lldb/include/lldb/lldb-enumerations.h
lldb/source/Commands/CommandCompletions.cpp
lldb/source/Interpreter/CommandObject.cpp
lldb/source/Interpreter/OptionGroupUUID.cpp
lldb/test/API/functionalities/completion/TestCompletion.py