[lldb][tests] Automatically call compute_mydir (NFC)Eliminate boilerplate of having each test manually assign to `mydir` by calling`compute_mydir` in lldbtest.py.Differential Revision: https://r
[lldb][tests] Automatically call compute_mydir (NFC)Eliminate boilerplate of having each test manually assign to `mydir` by calling`compute_mydir` in lldbtest.py.Differential Revision: https://reviews.llvm.org/D128077
show more ...
Fix a mistyping introduced with the new container command.I also added a call to help in the test which was crashing beforethe test, and not after.
Add a setting to not require --overwrite to overwrite commands.Protecting against accidental overwriting of commands is good, buthaving to pass a flag to overwrite the command when developing your
Add a setting to not require --overwrite to overwrite commands.Protecting against accidental overwriting of commands is good, buthaving to pass a flag to overwrite the command when developing yourcommands is pretty annoying. This adds a setting to defeat the protectionso you can do this once at the start of your session and not have toworry about it again.Differential Revision: https://reviews.llvm.org/D122680
[lldb] Compute fully qualified command names in FindCommandsForAproposFixes incomplete command names in `apropos` results.The full command names given by `apropos` have come from command name str
[lldb] Compute fully qualified command names in FindCommandsForAproposFixes incomplete command names in `apropos` results.The full command names given by `apropos` have come from command name stringliterals given to `CommandObject` constructors. For most commands, this hasbeen accurate, but some commands have incorrect strings. This results in`apropos` output that doesn't tell the user the full command name they mightwant learn more about. These strings can be fixed.There's a seperate issue that can't be fixed as easily: plugin commands. Withthe way they're implemented, plugin commands have to exclude the root commandfrom their command name string. To illustrate, the `language objc` subcommandhas to set its command name string to "objc", which results in apropos printingresults as `objc ...` instead of `language objc ...`.To fix both of these issues, this commit changes `FindCommandsForApropos` toderive the fully qualified command name using the keys of subcommand maps.Differential Revision: https://reviews.llvm.org/D116491(cherry picked from commit b3bfd595a548cd85b12e4e83729436cb73b26f29)
Add a "command container" hierarchy to allow users to add container nodes.The point is to allow users with a related set of script based commandsto organize their commands in a hierarchy in the co
Add a "command container" hierarchy to allow users to add container nodes.The point is to allow users with a related set of script based commandsto organize their commands in a hierarchy in the command set, rather thanhaving to have only top-level commands.Differential Revision: https://reviews.llvm.org/D110298