<div dir="ltr">Thanks for the bug info. Using the information and patches there, I was able to implement a solution that works for us. I can update the bug with details of the fix. It is quite a happy sight to finally see a complete call stack with our jitted functions in Visual Studio. We even have nested jitted function calls, and they are displaying perfectly.<div>Thanks again,</div><div>Jason</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 2, 2018 at 5:39 PM, 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">This isĀ <a href="https://bugs.llvm.org/show_bug.cgi?id=24233" target="_blank">https://bugs.llvm.org/show_<wbr>bug.cgi?id=24233</a>. I don't think there's been any movement on it for a while. I don't *think* it should be hard, but I've never really pushed on it.</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Jan 2, 2018 at 3:57 PM, Jason via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi, I use LLVM MCJIT extensively and one of the sore spots is debugging. We lose stack information if we crash during execution of one of our JIT functions. I spent some time to understand Windows x64 stack/exception handling and was able to hardcode support for a single JIT function and was able to maintain the call stack correctly. However it requires knowledge of the prolog of the function to code an UNWIND table used by the OS for stack unwinding, so I'm not sure it's something I can enable generically as a user of LLVM.<div><br></div><div>Has there been any progress to enable this support natively in LLVM? If not, I'd be willing to spend some time to enable this functionality, with help from experts in this area of LLVM.</div><div><br></div><div>Thanks,</div><div>Jason</div><div><br></div></div>
<br></div></div>______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>