forked from OSchip/llvm-project
Do not emit multiple AT_container_type attributes.
We need to find a better way to emit this info. llvm-svn: 93481
This commit is contained in:
parent
029fbd984b
commit
2108ee075f
|
|
@ -1813,7 +1813,8 @@ void DwarfDebug::endModule() {
|
|||
DIE *NDie = ModuleCU->getDIE(N);
|
||||
if (!NDie) continue;
|
||||
addDIEEntry(SPDie, dwarf::DW_AT_containing_type, dwarf::DW_FORM_ref4, NDie);
|
||||
addDIEEntry(NDie, dwarf::DW_AT_containing_type, dwarf::DW_FORM_ref4, NDie);
|
||||
// FIXME - This is not the correct approach.
|
||||
// addDIEEntry(NDie, dwarf::DW_AT_containing_type, dwarf::DW_FORM_ref4, NDie);
|
||||
}
|
||||
|
||||
// Standard sections final addresses.
|
||||
|
|
|
|||
Loading…
Reference in New Issue