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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to