paolosev added a subscriber: vwzm228.
paolosev added a comment.

In D78978#2481358 <https://reviews.llvm.org/D78978#2481358>, @vwzm228 wrote:

> Is there any progress about such patch and D78801 
> <https://reviews.llvm.org/D78801>?
>
> I have implemented the debugging feature in our Wasm VM based on  
> https://reviews.llvm.org/D78801, and it already work to attach, set 
> breakpoint, step, show variable value, backtrace...
>
> I am not sure if I need to change LLDB part to this one, or keep using D78801 
> <https://reviews.llvm.org/D78801>.
>
> But if both patches wont be merged, I have to maintain a private LLDB 
> version....

Unfortunately I have not received any more feedback for this patch, or the 
alternative version D78978 <https://reviews.llvm.org/D78978>, so I assumed it 
won't move forward :(
Meanwhile, I have created a personal fork 
(https://github.com/paolosevMSFT/llvm-project/tree/WasmDbg).

I still think that it would be very useful to add support for Wasm debugging to 
LLDB. Especially in scenarios where Wasm is not used as part of a web app, but 
server side (node.js) or running on micro runtime for IoT devices.
I know that there is the problem that LLDB does not support segmented address 
spaces, and so this patch requires a couple of tiny but smelly changes to core 
code.
From the mailing list I seem to remember that somebody was working to add 
support for segmented addresses, but I don't know what is the current state of 
the initiative.

I'd be happy to keep working on this, please let me know what I could do to 
progress toward an acceptable solution.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78801/new/

https://reviews.llvm.org/D78801

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to