[Lldb-commits] [PATCH] D145437: [lldb-vscode] Use `expression` command for completion
Dave Lee via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Mar 7 11:13:50 PST 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGe221dab07815: [lldb-vscode] Use `expression` command for completion (authored by kastiglione).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145437/new/
https://reviews.llvm.org/D145437
Files:
lldb/tools/lldb-vscode/lldb-vscode.cpp
Index: lldb/tools/lldb-vscode/lldb-vscode.cpp
===================================================================
--- lldb/tools/lldb-vscode/lldb-vscode.cpp
+++ lldb/tools/lldb-vscode/lldb-vscode.cpp
@@ -1065,8 +1065,9 @@
text = text.substr(1);
actual_column--;
} else {
- text = "p " + text;
- actual_column += 2;
+ char command[] = "expression -- ";
+ text = command + text;
+ actual_column += strlen(command);
}
lldb::SBStringList matches;
lldb::SBStringList descriptions;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145437.503106.patch
Type: text/x-patch
Size: 513 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230307/3224fb6f/attachment.bin>
More information about the lldb-commits
mailing list