<div dir="ltr">I went to creduce it and the assertion does not fire on Linux. I'm concerned there is some DI-related host dependence here.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 6, 2014 at 10:49 AM, Reid Kleckner <span dir="ltr"><<a href="mailto:rnk@google.com" target="_blank">rnk@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey, I've got one (unreduced).</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 6, 2014 at 9:54 AM, Reid Kleckner <span dir="ltr"><<a href="mailto:rnk@google.com" target="_blank">rnk@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yeah, let me try a self-host with that patch, assuming it reverts cleanly at TOT.</div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Oct 5, 2014 at 9:09 AM, David Blaikie <span dir="ltr"><<a href="mailto:dblaikie@gmail.com" target="_blank">dblaikie@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey Reid - I seem to recall last time we spoke it turned out you'd sent the wrong .cpp file and now only had the IR for the reproduction?<br><br>Any way we could get the original source reproduction for this (reducing debug test cases in IR is difficult)? I'd really like to move forward with this change as it introduces some useful invariants (and violations of those invariants most likely represent pretty clear bugs in LLVM's debug info for inlined functions).</div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Aug 9, 2014 at 8:59 AM, Reid Kleckner <span dir="ltr"><<a href="mailto:rnk@google.com" target="_blank">rnk@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span>On Fri, Aug 8, 2014 at 2:40 PM, David Blaikie <span dir="ltr"><<a href="mailto:dblaikie@gmail.com" target="_blank">dblaikie@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Wed, Aug 6, 2014 at 3:54 PM, Reid Kleckner <<a href="mailto:rnk@google.com" target="_blank">rnk@google.com</a>> wrote:<br>

> Here's an O0 .ll file that breaks llc if you run opt -O2 on it, but passes<br>
> if you run llc:<br>
> $ llc t.ll  # succeeds<br>
> $ opt -O2 t.ll -o - | llc -o t.s<br>
> Assertion failed: DISubprogram(Scope).describes(MF->getFunction()), file<br>
> ..\lib\CodeGen\LexicalScopes.cpp, line 179<br>
<br>
</div>Haven't had any luck getting this to fail... any ideas? I can<br>
side-by-side debug it with you next week, if it comes to that...</blockquote><div><br></div></span><div>Hm, try llc -mtriple=i686-windows-msvc?</div></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>