<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 23, 2017, at 12:54 PM, Peter Collingbourne <<a href="mailto:peter@pcc.me.uk" class="">peter@pcc.me.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote">On Thu, Feb 23, 2017 at 12:04 PM, Mehdi AMINI via Phabricator via llvm-commits <span dir="ltr" class=""><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank" class="">llvm-commits@lists.llvm.org</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">mehdi_amini created this revision.<br class="">
Herald added a subscriber: aprantl.<br class="">
<br class="">
It is illegal to have a call without debug info attached in a function<br class="">
with debug info: it'll crash the backend.<br class=""></blockquote><div class=""><br class=""></div><div class="">Isn't that a bug in the backend? What happens if I inline a function compiled without debug info into a function compiled with debug info?</div></div></div></div></div></blockquote><br class=""></div><div>See my update, this is in the verifier.</div><div>However I agree with you that this seems suspicious: what if LTO or ThinLTO make available a definition without debug info into a file with debug info. </div><div><br class=""></div><div>CC Adrian to clarify?</div><div><br class=""></div><div>— </div><div>Mehdi</div><div><br class=""></div><br class=""></body></html>