[Lldb-commits] [lldb] [lldb] Initialize the host platform under Emscripten (PR #223162)

Anutosh Bhat via lldb-commits lldb-commits at lists.llvm.org
Sun Sep 13 00:05:13 PDT 2026


anutosh491 wrote:

Here's demonstrating `liblldb` compiled to WebAssembly

1) loads a .wasm containing DWARF;
2) finds C++ functions and source lines;
3) lists debug sections;
4) disassembles WebAssembly instructions;
5) resolves a symbolic breakpoint to lldb-wasm-sample.cpp:2:17.

<img width="1709" height="1062" alt="image" src="https://github.com/user-attachments/assets/60204c8e-fa7f-4482-85a9-eccffd62c4ac" />

Now I am looking into compiling WAMR’s interpreter library with Emscripten for the execution engine.


https://github.com/llvm/llvm-project/pull/223162


More information about the lldb-commits mailing list