llvm-capstone/lldb
John Harrison 3d1f89c2e3 [lldb-vscode] Creating a new flag for adjusting the behavior of evaluation repl expressions to allow users to more easily invoke lldb commands.
This adds a new flag and lldb runtime command to allow users to manage the behavior of the lldb-vscode evaluate repl request.

When evaluating a repl context this now has runtime managed flag for control how the repl behaviors with the follow values:

* `variable` - the existing behavior, with this mode requests are evaluted in the current frame context as variable expressions. To trigger a lldb command prefix an expression with ` and it will be evaluted as an lldb command.
* `command` - all expressions are evaluated as lldb commands.
* `auto` - An alternative mode that will attempt to determine if the expression is an lldb command or a variable expression. Based off the intepreted results the expression will be evaluted either as a command or an expression.

Additionally, I enabled completions and ensured they work with the new repl expression behavior to provide auto-completes.

This commit includes updates to the tests to verify the new behavior after the previous failures from submitting https://reviews.llvm.org/D154030.

Differential Revision: https://reviews.llvm.org/D155248
2023-07-19 21:04:12 +00:00
..
bindings Remove unnecessary std::moves [NFC] 2023-07-13 19:24:01 -07:00
cmake [lldb][cmake] Allow specifying custom libcxx for tests in standalone builds 2023-05-20 12:07:48 +01:00
docs "fp" -> "flags" typeo in description of generic registers 2023-06-29 18:22:58 -07:00
examples [lldb] Have crashlog warn when remapped paths are inaccessible. 2023-06-14 17:15:28 -07:00
include [lldb][NFCI] Remove unneeded temporary std::string allocations in SBAPI 2023-07-14 10:46:42 -07:00
packages/Python/lldbsuite [lldb-vscode] Creating a new flag for adjusting the behavior of evaluation repl expressions to allow users to more easily invoke lldb commands. 2023-07-19 21:04:12 +00:00
resources [lldb][NFC] Remove copy of debugserver entitlements plist 2023-01-31 12:58:37 -08:00
scripts [lldb][AArch64] Add Scalable Matrix Extension option to QEMU launch script 2023-06-14 14:33:47 +01:00
source [lldb][NFC] Factor out CommandObject code filtering results based on scope 2023-07-19 09:14:02 -04:00
test [lldb-vscode] Creating a new flag for adjusting the behavior of evaluation repl expressions to allow users to more easily invoke lldb commands. 2023-07-19 21:04:12 +00:00
third_party/Python/module [lldb] Remove legacy six module for py2->py3 2023-01-24 19:46:26 -08:00
tools [lldb-vscode] Creating a new flag for adjusting the behavior of evaluation repl expressions to allow users to more easily invoke lldb commands. 2023-07-19 21:04:12 +00:00
unittests [lldb][NFC] Refactor test to enable subsequent reuse 2023-07-19 09:15:48 -04:00
utils [lldb/Commands] Add support to auto-completion for user commands 2023-06-06 10:58:34 -07:00
.clang-format
.clang-tidy [LLDB] Applying clang-tidy modernize-use-override over LLDB 2022-04-22 13:29:47 -07:00
.gitignore
CMakeLists.txt Reland "[CMake] Bumps minimum version to 3.20.0. 2023-05-27 12:51:21 +02:00
CODE_OWNERS.txt [lldb] Add entry to code owner 2023-04-25 23:15:07 -07:00
LICENSE.TXT
use_lldb_suite_root.py