forked from OSchip/llvm-project
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:
parent
0fdb104bed
commit
59700591f1
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue