assert(!MMI->isLabelDeleted(EndID) &&
"Invalid end label for an inlined scope!");
- // Ignore empty scopes.
- if (StartID == EndID && StartID != 0)
- return NULL;
-
DIE *ScopeDIE = new DIE(dwarf::DW_TAG_lexical_block);
if (Scope->isAbstractScope())
return ScopeDIE;
"Invalid starting label for an inlined scope!");
assert(!MMI->isLabelDeleted(EndID) &&
"Invalid end label for an inlined scope!");
- // Ignore empty scopes.
- if (StartID == EndID)
- return NULL;
if (!Scope->getScopeNode())
return NULL;
DIScope DS(Scope->getScopeNode());