[Lldb-commits] [lldb] [lldb] Initialize the host platform under Emscripten (PR #223162)
Anutosh Bhat via lldb-commits
lldb-commits at lists.llvm.org
Sat Sep 12 13:11:11 PDT 2026
anutosh491 wrote:
Also answering your question from above
1) Yes, I think a dedicated `HostInfoEmscripten`/`PlatformEmscripten` inheriting from the relevant POSIX abstractions will be cleaner once we add more host behaviour. This patch follows the existing Linux mapping, but I can make that separation the next step before adding more Linux-specific assumptions.
2) I expect the static LLDB pieces—Wasm object parsing, DWARF, symbols and disassembly—to work with both, although I haven’t tested WASI yet !
The split should probably happen at the host/process boundary: Emscripten can use browser-specific filesystem and runtime bridges, while WASI will need a more restricted implementation.
https://github.com/llvm/llvm-project/pull/223162
More information about the lldb-commits
mailing list