diff options
| author | Dave Lee <davelee.com@gmail.com> | 2022-01-13 16:02:45 -0800 |
|---|---|---|
| committer | Dave Lee <davelee.com@gmail.com> | 2022-01-21 17:57:34 -0800 |
| commit | b95150418fb6e2d22a0bd84abcdc1f3cc7e5a0bf (patch) | |
| tree | a4f1f42f81f81512cb4ac39af8936eee9989ade9 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp | |
| parent | 3726626a26ec7bfccfd526e02f89c1ac5fe3520a (diff) | |
[lldb] Allow aliases to aliases of raw input commands
Allow users to create aliases for aliases to raw input commands. That probably
sounds convoluted, so here's an example:
```
command alias some-setup env SOMEVAR=SOMEVALUE
```
This an alias based on `env`, which itself is an alias for `_regex-env`.
`_regex-env` is a `command regex` command, which takes raw input.
The above `some-setup` alias fails with:
```
error: Unable to create requested alias.
```
This change allows such aliases to be created. lldb already supports aliases to
aliases for parsed commands.
Differential Revision: https://reviews.llvm.org/D117259
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions
