[Lldb-commits] [lldb] [lldb] Implement RegisterContextWasm (PR #151056)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 29 03:48:32 PDT 2025


DavidSpickett wrote:

> This PR implements a register context for Wasm, which uses virtual registers to resolve Wasm local, globals and stack values. 

As I understand it, we internally are adding virtual registers, because that's the metaphor lldb is used to. For users, `register read --all` still only shows the PC, as that's the only real register.

Correct?

Because I think if we're going to show what are conceptually variables as registers, that's worth a discussion, but I think this is not what you are doing here. This is just an internal convenience.

https://github.com/llvm/llvm-project/pull/151056


More information about the lldb-commits mailing list