Tightened up type uniq'ing so we don't uniq two

anonymous types to each other unless they have
the same byte_size.

llvm-svn: 150422
This commit is contained in:
Sean Callanan 2012-02-13 22:30:16 +00:00
parent 0fdb104bed
commit 59700591f1
1 changed files with 1 additions and 0 deletions

View File

@ -4972,6 +4972,7 @@ SymbolFileDWARF::ParseType (const SymbolContext& sc, DWARFCompileUnit* dwarf_cu,
unique_ast_entry.m_cu = dwarf_cu;
unique_ast_entry.m_die = die;
unique_ast_entry.m_declaration = decl;
unique_ast_entry.m_byte_size = byte_size;
GetUniqueDWARFASTTypeMap().Insert (type_name_const_str,
unique_ast_entry);