Taking care of an issue relating to mapping DeclContext's to DIE's

llvm-svn: 137490
This commit is contained in:
Enrico Granata 2011-08-12 18:43:16 +00:00
parent ede5857203
commit 4a04dbc749
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}