mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-18 18:42:46 +02:00
Revert "DebugInfo: Assume all subprogram DIEs have been created before any abstract subprograms are constructed."
This reverts commit r209178. This seems to be asserting in an LTO build on some internal Apple buildbots. No upstream reproduction (and I don't have an LLVM-aware gold built right now to reproduce it personally) but it's a small patch & the failure's semi-plausible so I'm going to revert first while I try to reproduce this. llvm-svn: 209251
This commit is contained in:
parent
6b3d606a41
commit
80cb22d7ed
@ -530,11 +530,11 @@ void DwarfDebug::constructAbstractSubprogramScopeDIE(DwarfCompileUnit &TheCU,
|
||||
if (!ProcessedSPNodes.insert(Sub))
|
||||
return;
|
||||
|
||||
DIE *ScopeDIE = TheCU.getDIE(Sub);
|
||||
assert(ScopeDIE);
|
||||
AbstractSPDies.insert(std::make_pair(Sub, ScopeDIE));
|
||||
TheCU.addUInt(*ScopeDIE, dwarf::DW_AT_inline, None, dwarf::DW_INL_inlined);
|
||||
createAndAddScopeChildren(TheCU, Scope, *ScopeDIE);
|
||||
if (DIE *ScopeDIE = TheCU.getDIE(Sub)) {
|
||||
AbstractSPDies.insert(std::make_pair(Sub, ScopeDIE));
|
||||
TheCU.addUInt(*ScopeDIE, dwarf::DW_AT_inline, None, dwarf::DW_INL_inlined);
|
||||
createAndAddScopeChildren(TheCU, Scope, *ScopeDIE);
|
||||
}
|
||||
}
|
||||
|
||||
DIE &DwarfDebug::constructSubprogramScopeDIE(DwarfCompileUnit &TheCU,
|
||||
|
Loading…
Reference in New Issue
Block a user