<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></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 Sep 12, 2017, at 9:53 AM, Zachary Turner <<a href="mailto:zturner@google.com" class="">zturner@google.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">If you had just logged it, the bug would still not be fixed because nobody would know about it.  I also can't believe we have to keep saying this :-/</div></div></blockquote><div><br class=""></div>By log, I mean Host::SystemLog(...) which would come out in the command line. Not "log enable ...". So users would see the issue and report the bug. Crashing doesn't mean people always report the bug. Knowing that we have an unsupported relocation doesn't help us without knowing what the expression is. So while we end up seeing the crash, we often don't have enough info to do anything about it. So I don't see that as better.</div><div><br class=""></div><div><br class=""></div><div><blockquote type="cite" class=""><div class=""><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Tue, Sep 12, 2017 at 9:50 AM Greg Clayton <<a href="mailto:clayborg@gmail.com" class="">clayborg@gmail.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Success? No. Log something. Return an error. Anything but crashing. Crashing is not acceptable. I can't believe we have to keep saying this. <div class=""><br class=""><div class=""><div class=""><blockquote type="cite" class=""></blockquote></div></div></div></div><div style="word-wrap:break-word" class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class="">On Sep 11, 2017, at 4:39 PM, Zachary Turner via lldb-commits <<a href="mailto:lldb-commits@lists.llvm.org" target="_blank" class="">lldb-commits@lists.llvm.org</a>> wrote:</div><br class="m_3428004660449542480Apple-interchange-newline"></blockquote></div></div></div></div><div style="word-wrap:break-word" class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><br class=""><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Mon, Sep 11, 2017 at 4:22 PM Jason Molenda via lldb-commits <<a href="mailto:lldb-commits@lists.llvm.org" target="_blank" class="">lldb-commits@lists.llvm.org</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">fwiw the reason the JIT came up is because we had an instance where the older MCJIT wasn't handling a relocation in thumb code about six weeks ago and we only caught the crash a couple days before we released a beta of it.  It definitely can happen with MCJIT.  I think with ORC JIT this is a not going to be a problem -- but it's a good example of a class of problem where the subsystem (jit) considers the failure catastrophic, whereas the user will find another way to do their work.  When it takes the developer an hour to get to the point of failure, they try to print a variable, lldb ingests a ton of debug info and then we crash because some little detail was not valid, or they try to run an expression and the debugger crashes with an unsupported relocation, I can't overstate what an enormous failure of the debugger that is.<br class=""></blockquote><div class=""> </div><div class="">I disagree.  It sounds like a success.  As a result of it crashing six weeks ago, you learned the bug exists, and now Lang has fixed it.</div></div></div></div></blockquote></div></div></div></div><div style="word-wrap:break-word" class=""><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class="">
_______________________________________________<br class="">lldb-commits mailing list<br class=""><a href="mailto:lldb-commits@lists.llvm.org" target="_blank" class="">lldb-commits@lists.llvm.org</a><br class=""><a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits" target="_blank" class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits</a><br class=""></div></blockquote></div></div></div></div></blockquote></div>
</div></blockquote></div><br class=""></body></html>