emscripten-core / emscripten-core/emscripten
[Question] Does compiling lldb for wasm against emscripten make sense ?
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
Hey @sbc100 ,
Would be great to know your views on the same.
Does compiling lldb against emscripten even make sense (from an execution point of view and not just compiling)?
So I might be able to compile lldb against emscripten but the OS-Specific Functionality ( launching or attaching to processes, setting breakpoints etc via ptrace or platform APIs) would be absent in a browser/WebAssembly environment I guess ?
So, many parts of LLDB can’t function normally is what I was thinking even if I build it correctly ?
Here's my attempt on emscripten-forge that was decently close (https://github.com/anutosh491/recipes/pull/12)
Also here's some reference to a successful attempt : https://github.com/jawilk/lldb2wasm/?tab=readme-ov-file
Contributor guide
Assessment
This issue has not been assessed yet.