summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/Debugger.cpp
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2013-03-26 18:04:53 +0000
committerEnrico Granata <egranata@apple.com>2013-03-26 18:04:53 +0000
commit9fb5ab558b9874ac7065337a9ac274e2d857da16 (patch)
tree478ff60a853cc0be2f1d56af562e6822cc7c3aec /lldb/source/Core/Debugger.cpp
parentcfed3cf33c1a280669cda1015bc86a5c25d2e583 (diff)
downloadbcm5719-llvm-9fb5ab558b9874ac7065337a9ac274e2d857da16.tar.gz
bcm5719-llvm-9fb5ab558b9874ac7065337a9ac274e2d857da16.zip
Our commands that end up displaying a ValueObject as part of their workflow use OptionGroupValueObjectDisplay as their currency for deciding the final representation
ValueObjects themselves use DumpValueObjectOptions as the currency for the same purpose The code to convert between these two units was replicated (to varying degrees of correctness) in several spots in the code This checkin provides one and only one (and hopefully correct :-) entry point for this conversion llvm-svn: 178044
Diffstat (limited to 'lldb/source/Core/Debugger.cpp')
-rw-r--r--lldb/source/Core/Debugger.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/Core/Debugger.cpp b/lldb/source/Core/Debugger.cpp
index e2323ae03d9..20c55e63c7a 100644
--- a/lldb/source/Core/Debugger.cpp
+++ b/lldb/source/Core/Debugger.cpp
@@ -1989,8 +1989,7 @@ Debugger::FormatPrompt
ValueObjectSP return_valobj_sp = StopInfo::GetReturnValueObject (stop_info_sp);
if (return_valobj_sp)
{
- ValueObject::DumpValueObjectOptions dump_options;
- ValueObject::DumpValueObject (s, return_valobj_sp.get(), dump_options);
+ ValueObject::DumpValueObject (s, return_valobj_sp.get());
var_success = true;
}
}
OpenPOWER on IntegriCloud