This would've helped stabilize/deflake some failures that were seen
after some recent changes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@224943
91177308-0d34-0410-b5e6-
96231b3b80d8
// Don't bother if things are the same as last time.
SourceManager &SM = CGM.getContext().getSourceManager();
+ assert(!LexicalBlockStack.empty());
if (CurLoc == PrevLoc ||
SM.getExpansionLoc(CurLoc) == SM.getExpansionLoc(PrevLoc))
// New Builder may not be in sync with CGDebugInfo.