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

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


================
@@ -2014,6 +2014,45 @@ read packet: $9c01000000000040e501000000000040fe01000000000040#
 supported by the [WAMR](https://github.com/bytecodealliance/wasm-micro-runtime)
 and [V8](https://v8.dev) Wasm runtimes.
 
+## qWasmGlobal
+
+Get the value of a Wasm global variable for the given frame index at the given
+variable index. This returns a hex-encoded value.
----------------
DavidSpickett wrote:

I would say:
This returns the value of the global variable, hex-encoded.

Again to be super clear that it returns the actual value not some opaque handle, or an address of a location of the value.

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


More information about the lldb-commits mailing list