summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/OptionValueFormatEntity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Interpreter/OptionValueFormatEntity.cpp')
-rw-r--r--lldb/source/Interpreter/OptionValueFormatEntity.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Interpreter/OptionValueFormatEntity.cpp b/lldb/source/Interpreter/OptionValueFormatEntity.cpp
index 3501423a732..98505947fa7 100644
--- a/lldb/source/Interpreter/OptionValueFormatEntity.cpp
+++ b/lldb/source/Interpreter/OptionValueFormatEntity.cpp
@@ -61,10 +61,10 @@ void OptionValueFormatEntity::DumpValue(const ExecutionContext *exe_ctx,
strm.Printf("(%s)", GetTypeAsCString());
if (dump_mask & eDumpOptionValue) {
if (dump_mask & eDumpOptionType)
- strm.PutCString(" = \"");
+ strm.PutCString(" = ");
std::string escaped;
EscapeBackticks(m_current_format, escaped);
- strm << escaped << '"';
+ strm << '"' << escaped << '"';
}
}
OpenPOWER on IntegriCloud