[Lldb-commits] [lldb] [lldb] Add flag to "settings show" to include default values (PR #153233)

Dave Lee via lldb-commits lldb-commits at lists.llvm.org
Sat Aug 16 14:19:07 PDT 2025


================
@@ -54,17 +55,18 @@ void OptionValueFormatEntity::DumpValue(const ExecutionContext *exe_ctx,
   if (dump_mask & eDumpOptionValue) {
     if (dump_mask & eDumpOptionType)
       strm.PutCString(" = ");
-    std::string escaped;
-    EscapeBackticks(m_current_format, escaped);
-    strm << '"' << escaped << '"';
+    strm.QuotedCString(EscapeBackticks(m_current_format).data());
----------------
kastiglione wrote:

reverted to the `<<` style

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


More information about the lldb-commits mailing list