You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue does not pertain to correctly generating DWARF "Location Descriptions." That is possible with the current arrangement.
The issue is when dereferencing pointers on the GDB console. Say you have an "int *foo". GDB can correctly do "print foo" but it cannot do "print *foo."
Is there a way to communicate to GDB how to dereference pointer types in DWARF? I say GDB here but I suspect this also applies to LLDB.
The text was updated successfully, but these errors were encountered:
At this moment deferencing of points is happening at DWARF level using DW_OP_deref and other similar operations -- not different from native platforms. With multi-memory proposal, we need to resolve #10.
There are two ways GDB/LLDB can work with:
directly with WebAssembly runtime; in this case deref will just work, but it is not implemented yet AFAIK, see e.g. https://reviews.llvm.org/D78801.
Your second point is to what I was referring. Thank you for the reference, while that requires transforming debug-level pointer types that is a sufficient solution. Thank you
This issue does not pertain to correctly generating DWARF "Location Descriptions." That is possible with the current arrangement.
The issue is when dereferencing pointers on the GDB console. Say you have an "int *foo". GDB can correctly do "print foo" but it cannot do "print *foo."
Is there a way to communicate to GDB how to dereference pointer types in DWARF? I say GDB here but I suspect this also applies to LLDB.
The text was updated successfully, but these errors were encountered: