ValueObjectVariable::ValueObjectVariable (lldb::VariableSP &var_sp) : ValueObject(), m_variable_sp(var_sp) { // Do not attempt to construct one of these objects with no variable! assert (m_variable_sp.get() != NULL); m_name = var_sp->GetName(); }
ValueObjectVariable::ValueObjectVariable (ExecutionContextScope *exe_scope, const lldb::VariableSP &var_sp) : ValueObject(exe_scope), m_variable_sp(var_sp) { // Do not attempt to construct one of these objects with no variable! assert (m_variable_sp.get() != NULL); m_name = var_sp->GetName(); }