[Lldb-commits] [lldb] [lldb] Scope Wasm global reads to a module instance (PR #213176)
Paolo Severini via lldb-commits
lldb-commits at lists.llvm.org
Mon Aug 3 04:59:45 PDT 2026
================
@@ -56,6 +57,13 @@ static constexpr uint64_t kWasmModuleIDMask =
static constexpr uint64_t kWasmAddressTypeMask =
MakeFieldMask(kWasmAddressTypeBits, kWasmAddressTypeShift);
+/// A value that names no module. Zero is a valid module id, so the sentinel has
----------------
paolosevMSFT wrote:
Zero should be a valid Wasm module id (or more precisely, Wasm instance id). In the current V8 gdb-server implementation, zero is the id of the first module. (Not sure about WAMR). But of course we are still in time to change the V8 implementation, if necessary.
https://github.com/llvm/llvm-project/pull/213176
More information about the lldb-commits
mailing list