clayborg added a comment.

Thanks for the explanations if everything WASM related. I now understand much 
better what you have.

> Read Wasm memory.
>  IN : $qWasmMem:frame_index;addr;len
>  OUT: $xx..xx

frame index seems weird in a memory read packet. Seems like the module ID 
should be passed instead of the frame index.

Reading memory could be handled with memory identifiers, or segments. Currently 
the packets for m and M only have an address, but someone out there must 
support reading from CODE and DATA address segments in the DSP world. I have an 
email out to Ted Woodward to see what they do for Qualcomm's hexagon DSPs. I'll 
let you know what I find. Maybe each WASM module can identify N segments it 
needs and each module would have its own unique segments. Are module ID's just 
1 based indexes?


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