Handle the case when a variable is only valid in part of the enclosing scope
DWARF stores this information in the DW_AT_start_scope attribute. This CL add support for this attribute and also changes the functions displaying frame variables to only display the variables currently in scope. Differential revision: http://reviews.llvm.org/D17449 llvm-svn: 261858
This commit is contained in:
@@ -131,7 +131,11 @@ SBBlock::AppendVariables (bool can_create, bool get_parent_variables, lldb_priva
|
||||
if (IsValid())
|
||||
{
|
||||
bool show_inline = true;
|
||||
m_opaque_ptr->AppendVariables (can_create, get_parent_variables, show_inline, var_list);
|
||||
m_opaque_ptr->AppendVariables (can_create,
|
||||
get_parent_variables,
|
||||
show_inline,
|
||||
[](Variable*) { return true; },
|
||||
var_list);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user