llvm-project/lldb/source
Dave Lee b95150418f [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
2022-01-21 17:57:34 -08:00
..
API [lldb] Decouple instrumentation from the reproducers 2022-01-20 18:06:14 -08:00
Breakpoint [lldb] Make StatsDuration thread-safe 2022-01-19 16:42:53 +01:00
Commands [lldb] Allow aliases to aliases of raw input commands 2022-01-21 17:57:34 -08:00
Core [lldb] Create a property to store the REPL language 2022-01-05 15:03:46 -08:00
DataFormatters [lldb] Remove summary for signed char * 2022-01-06 19:52:24 +01:00
Expression Fix bugprone argument comments. 2022-01-09 12:21:02 -08:00
Host [llvm] Cleanup header dependencies in ADT and Support 2022-01-21 13:54:49 +01:00
Initialization [lldb] Make lldbVersion a full fledged library 2021-12-08 15:14:34 -08:00
Interpreter [lldb] Don't print "Command Options Usage:" for an alias with no options 2022-01-12 10:07:38 +00:00
Plugins [lldb] Decouple instrumentation from the reproducers 2022-01-20 18:06:14 -08:00
Symbol Use true/false instead of 1/0 (NFC) 2022-01-09 12:21:06 -08:00
Target [lldb] Make StatsDuration thread-safe 2022-01-19 16:42:53 +01:00
Utility [lldb] Fix timer logging inverted quiet condition 2022-01-21 15:34:07 -08:00
Version [lldb] Fix LLDB_FULL_VERSION_STRING 2022-01-19 14:20:22 -08:00
CMakeLists.txt [lldb] Make lldbVersion a full fledged library 2021-12-08 15:14:34 -08:00