aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectFrame.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2011-04-22 23:53:53 +0000
committerJim Ingham <jingham@apple.com>2011-04-22 23:53:53 +0000
commit58b59f9522a0aafd4c2efe0781a9c88f005b7e00 (patch)
tree5e036735ce45e937a4d7f19579f0034ea2b6be00 /lldb/source/Commands/CommandObjectFrame.cpp
parent0ff2b2eda3509727fdb93e2b7f45ace85c4b3767 (diff)
downloadllvm-58b59f9522a0aafd4c2efe0781a9c88f005b7e00.zip
llvm-58b59f9522a0aafd4c2efe0781a9c88f005b7e00.tar.gz
llvm-58b59f9522a0aafd4c2efe0781a9c88f005b7e00.tar.bz2
Fix up how the ValueObjects manage their life cycle so that you can hand out a shared
pointer to a ValueObject or any of its dependent ValueObjects, and the whole cluster will stay around as long as that shared pointer stays around. llvm-svn: 130035
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectFrame.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/lldb/source/Commands/CommandObjectFrame.cpp b/lldb/source/Commands/CommandObjectFrame.cpp
index 97dbdf3..ade3ead6 100644
--- a/lldb/source/Commands/CommandObjectFrame.cpp
+++ b/lldb/source/Commands/CommandObjectFrame.cpp
@@ -649,13 +649,6 @@ public:
valobj_sp = exe_ctx.frame->GetValueForVariableExpressionPath (name_cstr, expr_path_options, error);
if (valobj_sp)
{
-// if (use_dynamic)
-// {
-// lldb::ValueObjectSP dynamic_sp = valobj_sp->GetDynamicValue(true, valobj_sp);
-// if (dynamic_sp != NULL)
-// valobj_sp = dynamic_sp;
-// }
-//
if (m_options.format != eFormatDefault)
valobj_sp->SetFormat (m_options.format);