File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
lldb/source/Plugins/SymbolFile/DWARF Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -3095,7 +3095,7 @@ SymbolFileDWARF::FindDefinitionTypeForDWARFDeclContext(const DWARFDIE &die) {
3095
3095
}
3096
3096
3097
3097
const DWARFDeclContext die_dwarf_decl_ctx = GetDWARFDeclContext (die);
3098
- m_index->GetTypes (die_dwarf_decl_ctx, [&](DWARFDIE type_die) {
3098
+ m_index->GetFullyQualifiedType (die_dwarf_decl_ctx, [&](DWARFDIE type_die) {
3099
3099
// Make sure type_die's language matches the type system we are
3100
3100
// looking for. We don't want to find a "Foo" type from Java if we
3101
3101
// are looking for a "Foo" type for C, C++, ObjC, or ObjC++.
@@ -3122,9 +3122,8 @@ SymbolFileDWARF::FindDefinitionTypeForDWARFDeclContext(const DWARFDIE &die) {
3122
3122
return true ;
3123
3123
}
3124
3124
3125
- DWARFDeclContext type_dwarf_decl_ctx = GetDWARFDeclContext (type_die);
3126
-
3127
3125
if (log ) {
3126
+ DWARFDeclContext type_dwarf_decl_ctx = GetDWARFDeclContext (type_die);
3128
3127
GetObjectFile ()->GetModule ()->LogMessage (
3129
3128
log ,
3130
3129
" SymbolFileDWARF::"
@@ -3134,10 +3133,6 @@ SymbolFileDWARF::FindDefinitionTypeForDWARFDeclContext(const DWARFDIE &die) {
3134
3133
type_dwarf_decl_ctx.GetQualifiedName ());
3135
3134
}
3136
3135
3137
- // Make sure the decl contexts match all the way up
3138
- if (die_dwarf_decl_ctx != type_dwarf_decl_ctx)
3139
- return true ;
3140
-
3141
3136
Type *resolved_type = ResolveType (type_die, false );
3142
3137
if (!resolved_type || resolved_type == DIE_IS_BEING_PARSED)
3143
3138
return true ;
You can’t perform that action at this time.
0 commit comments