forked from OSchip/llvm-project
DebugInfo: factor out dead variable in NDEBUG from r235050
Caught by the lld bot: http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/9832 llvm-svn: 235052
This commit is contained in:
parent
773ba37529
commit
768d96ca6f
|
@ -719,8 +719,7 @@ void DwarfDebug::collectVariableInfoFromMMITable(
|
|||
if (!Scope)
|
||||
continue;
|
||||
|
||||
DIVariable DV = cast<MDLocalVariable>(VI.Var);
|
||||
assert(DV->isValidLocationForIntrinsic(VI.Loc) &&
|
||||
assert(VI.Var->isValidLocationForIntrinsic(VI.Loc) &&
|
||||
"Expected inlined-at fields to agree");
|
||||
DIExpression Expr = cast_or_null<MDExpression>(VI.Expr);
|
||||
ensureAbstractVariableIsCreatedIfScoped(Var, Scope->getScopeNode());
|
||||
|
|
Loading…
Reference in New Issue