[lldb-dev] GDB JIT interface on LLDB for Windows

Yury Delendik via lldb-dev lldb-dev at lists.llvm.org
Thu Sep 5 14:07:45 PDT 2019


I'm trying to locate more information about the subject. I'm working
on enabling debugging for wasmtime [1]. The wasmtime is a runtime for
WebAssembly code -- a JIT, for purpose of this discussion. Currently,
I'm successfully generate ELF images to be registered using the JIT
interface [2]. It works well on Linux [3] and Mac OS, and now there is
a need to extend it to Windows.

It will be less work for me (and other JIT vendors) if LLDB on Windows
could support ELF/DWARF format. Is or can it be the case? If not, what
will be a preferable format for Windows object file image to be used
in JIT interface, and will it work via __jit_debug_register_code?

Thank you,
Yury

[1] https://github.com/CraneStation/wasmtime/
[2] https://www-zeuthen.desy.de/unix/unixguide/infohtml/gdb/JIT-Interface.html
[3] https://hacks.mozilla.org/2019/09/debugging-webassembly-outside-of-the-browser/


More information about the lldb-dev mailing list