<div dir="ltr"><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 6, 2014 at 12:15 PM, Diego Novillo <span dir="ltr"><<a href="mailto:dnovillo@google.com" target="_blank" class="cremed">dnovillo@google.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>This code will cause an internal error when compiled with -Rpass=inline</div>
<div><br></div><div><div>int foo(int j) { return j / 10; }</div><div>#line 4242 "path/to/autogen-src.dat"<br>
</div><div>int baz(int j) { return foo(j) * 3; }</div></div><div><br></div><div><br></div><div>$ clang -O2 -g -Rpass=inline -c foo.cc</div></div></blockquote><div><br></div>My attempt at handling this: <a href="http://reviews.llvm.org/D3625">http://reviews.llvm.org/D3625</a><div>
<br></div><div><br></div><div>I'm not really thrilled with the solution. Even if we can't get back to the source file, I would like the location emitted at the very least. It's Right There.</div><div><br></div>
<div><br></div><div>Diego.</div></div></div></div>