Taking care of an issue relating to mapping DeclContext's to DIE's
llvm-svn: 137490
This commit is contained in:
parent
ede5857203
commit
4a04dbc749
|
@ -2952,6 +2952,7 @@ SymbolFileDWARF::GetClangDeclContextContainingDIE (DWARFCompileUnit *curr_cu, co
|
|||
if (type)
|
||||
{
|
||||
decl_ctx = ClangASTContext::GetDeclContextForType (type->GetClangForwardType ());
|
||||
LinkDeclContextToDIE (decl_ctx, die);
|
||||
if (decl_ctx)
|
||||
return decl_ctx;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue