[Lldb-commits] [lldb] [lldb] Implement WebAssembly debugging (PR #77949)
Paolo Severini via lldb-commits
lldb-commits at lists.llvm.org
Fri Jan 12 12:01:28 PST 2024
paolosevMSFT wrote:
@JDevlieghere Thank you!
I will remove the code that handles DW_OP_WASM_location as you suggest.
For what concerns testing, I took a very quick look at `GdbRemoteTestCaseBase` and if I am not wrong, it works by spawning an inferior processor attaching to an inferior process to debug. But it relies on the fact that it can use lldb-server, which implements the server-side of the gdb-remote protocol.
But here we need to attach to a Wasm engine, and obviously, we cannot implement a Wasm engine as part of the LLDB test code.
Maybe we should implement a process that mocks the gdb-stub logic for a Wasm engine? Is there anything we could reuse in the LLDB test framework?
https://github.com/llvm/llvm-project/pull/77949
More information about the lldb-commits
mailing list