diff options
author | Jim Ingham <jingham@apple.com> | 2011-04-22 23:53:53 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2011-04-22 23:53:53 +0000 |
commit | 58b59f9522a0aafd4c2efe0781a9c88f005b7e00 (patch) | |
tree | 5e036735ce45e937a4d7f19579f0034ea2b6be00 /lldb/source/Expression/ClangExpressionVariable.cpp | |
parent | 0ff2b2eda3509727fdb93e2b7f45ace85c4b3767 (diff) | |
download | bcm5719-llvm-58b59f9522a0aafd4c2efe0781a9c88f005b7e00.tar.gz bcm5719-llvm-58b59f9522a0aafd4c2efe0781a9c88f005b7e00.zip |
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/Expression/ClangExpressionVariable.cpp')
-rw-r--r-- | lldb/source/Expression/ClangExpressionVariable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Expression/ClangExpressionVariable.cpp b/lldb/source/Expression/ClangExpressionVariable.cpp index 2725e6c4aee..9a264eba062 100644 --- a/lldb/source/Expression/ClangExpressionVariable.cpp +++ b/lldb/source/Expression/ClangExpressionVariable.cpp @@ -29,7 +29,7 @@ ClangExpressionVariable::ClangExpressionVariable(ExecutionContextScope *exe_scop m_parser_vars(), m_jit_vars (), m_flags (EVNone), - m_frozen_sp (new ValueObjectConstResult(exe_scope, byte_order, addr_byte_size)) + m_frozen_sp (ValueObjectConstResult::Create (exe_scope, byte_order, addr_byte_size)) { } |