[llvm-dev] Call-stack and exception handling for Windows x64 JIT

Reid Kleckner via llvm-dev llvm-dev at lists.llvm.org
Tue Jan 2 17:39:05 PST 2018


This is https://bugs.llvm.org/show_bug.cgi?id=24233. 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.

On Tue, Jan 2, 2018 at 3:57 PM, Jason via llvm-dev <llvm-dev at lists.llvm.org>
wrote:

> 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.
>
> 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.
>
> Thanks,
> Jason
>
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180102/dfb623d5/attachment.html>


More information about the llvm-dev mailing list