aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectFrame.cpp
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2015-10-07 02:36:35 +0000
committerEnrico Granata <egranata@apple.com>2015-10-07 02:36:35 +0000
commit73e8c4d09cf5a0497bc34b4f7c7206c59ae35669 (patch)
tree1be7e60f80ce16a43192d6405845c565ef2fbe37 /lldb/source/Commands/CommandObjectFrame.cpp
parentd54f7fb8eb3c0817d17c89640a8e3bcf0622c952 (diff)
downloadllvm-73e8c4d09cf5a0497bc34b4f7c7206c59ae35669.zip
llvm-73e8c4d09cf5a0497bc34b4f7c7206c59ae35669.tar.gz
llvm-73e8c4d09cf5a0497bc34b4f7c7206c59ae35669.tar.bz2
Route the preferred-display-language mechanism to the ValueObjectPrinter and actually fill in a few gaps for dynamic and synthetic values to be able to adopt this in useful ways
llvm-svn: 249507
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectFrame.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Commands/CommandObjectFrame.cpp b/lldb/source/Commands/CommandObjectFrame.cpp
index f638243..5f5585a 100644
--- a/lldb/source/Commands/CommandObjectFrame.cpp
+++ b/lldb/source/Commands/CommandObjectFrame.cpp
@@ -500,6 +500,7 @@ protected:
}
options.SetFormat(format);
+ options.SetVariableFormatDisplayLanguage(valobj_sp->GetPreferredDisplayLanguage());
Stream &output_stream = result.GetOutputStream();
options.SetRootValueObjectName(valobj_sp->GetParent() ? name_cstr : NULL);
@@ -586,6 +587,7 @@ protected:
}
options.SetFormat(format);
+ options.SetVariableFormatDisplayLanguage(valobj_sp->GetPreferredDisplayLanguage());
options.SetRootValueObjectName(name_cstr);
valobj_sp->Dump(result.GetOutputStream(),options);
}