[llvm] r212205 - DebugInfo: Ensure that all debug location scope chains from instructions within a function, lead to the function itself.

Reid Kleckner rnk at google.com
Wed Jul 2 14:29:39 PDT 2014


On Wed, Jul 2, 2014 at 11:32 AM, David Blaikie <dblaikie at gmail.com> wrote:
>
>
> -  if (!Parent && DIDescriptor(Scope).isSubprogram() &&
> -      DISubprogram(Scope).describes(MF->getFunction()))
> +  if (!Parent) {
> +    assert(DIDescriptor(Scope).isSubprogram());
> +    assert(DISubprogram(Scope).describes(MF->getFunction()));
>

This assertion fails often while building Chromium on Windows.  I'll try to
find a reduction.


> +    assert(!CurrentFnLexicalScope);
>      CurrentFnLexicalScope = &I->second;
> +  }
>
>    return &I->second;
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140702/edea88a3/attachment.html>


More information about the llvm-commits mailing list