[Lldb-commits] [lldb] [lldb] Fix --persistent-result description (PR #68128)

via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 3 09:46:23 PDT 2023


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

<details>
<summary>Changes</summary>

The default is not static, it depends on context. For `expression`, the default is true, but for `dwim-print`, the default is false.

rdar://116320377

---
Full diff: https://github.com/llvm/llvm-project/pull/68128.diff


1 Files Affected:

- (modified) lldb/source/Commands/Options.td (+1-1) 


``````````diff
diff --git a/lldb/source/Commands/Options.td b/lldb/source/Commands/Options.td
index 04830b8b990efae..cfdeaabfa007743 100644
--- a/lldb/source/Commands/Options.td
+++ b/lldb/source/Commands/Options.td
@@ -390,7 +390,7 @@ let Command = "expression" in {
     Arg<"Boolean">,
     Desc<"Persist expression result in a variable for subsequent use. "
     "Expression results will be labeled with $-prefixed variables, e.g. $0, "
-    "$1, etc. Defaults to true.">;
+    "$1, etc.">;
 }
 
 let Command = "frame diag" in {

``````````

</details>


https://github.com/llvm/llvm-project/pull/68128


More information about the lldb-commits mailing list