mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
Revert the rest of r192749 to bring back the buildbot. These two
error messages should not be able to occur at the same time. llvm-svn: 192985
This commit is contained in:
parent
70efa1983f
commit
822ccff656
@ -994,8 +994,10 @@ void DwarfDebug::collectDeadVariables() {
|
||||
// Construct subprogram DIE and add variables DIEs.
|
||||
CompileUnit *SPCU = CUMap.lookup(TheCU);
|
||||
assert(SPCU && "Unable to find Compile Unit!");
|
||||
DIE *SPDIE = SPCU->getDIE(SP);
|
||||
assert(SPDIE && "Subprogram wasn't created?");
|
||||
// FIXME: See the comment in constructSubprogramDIE about duplicate
|
||||
// subprogram DIEs.
|
||||
constructSubprogramDIE(SPCU, SP);
|
||||
DIE *SPDIE = SPCU->getDIE(SP);
|
||||
for (unsigned vi = 0, ve = Variables.getNumElements(); vi != ve; ++vi) {
|
||||
DIVariable DV(Variables.getElement(vi));
|
||||
if (!DV.isVariable())
|
||||
|
Loading…
Reference in New Issue
Block a user