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

Reid Kleckner rnk at google.com
Sat Aug 9 08:59:59 PDT 2014


On Fri, Aug 8, 2014 at 2:40 PM, David Blaikie <dblaikie at gmail.com> wrote:

> On Wed, Aug 6, 2014 at 3:54 PM, Reid Kleckner <rnk at google.com> wrote:
> > Here's an O0 .ll file that breaks llc if you run opt -O2 on it, but
> passes
> > if you run llc:
> > $ llc t.ll  # succeeds
> > $ opt -O2 t.ll -o - | llc -o t.s
> > Assertion failed: DISubprogram(Scope).describes(MF->getFunction()), file
> > ..\lib\CodeGen\LexicalScopes.cpp, line 179
>
> Haven't had any luck getting this to fail... any ideas? I can
> side-by-side debug it with you next week, if it comes to that...


Hm, try llc -mtriple=i686-windows-msvc?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140809/0c05ef22/attachment.html>


More information about the llvm-commits mailing list