================
@@ -59,12 +68,25 @@ class ProcessWasm : public 
process_gdb_remote::ProcessGDBRemote {
   friend class UnwindWasm;
   friend class ThreadWasm;
 
+  /// Ask the WebAssembly stub for a single value, which comes back as the
+  /// hex-encoded bytes of the whole value.
+  llvm::Expected<lldb::DataBufferSP> SendWasmValueQuery(llvm::StringRef 
packet);
+
   /// Read a WebAssembly global by its index in the global index space of the
   /// module it belongs to. The index space is per module, so an index only
   /// names a global together with the module it is an index into.
   size_t ReadGlobal(uint32_t module_id, uint32_t index, void *buf, size_t size,
                     Status &error);
 
+  /// The frame to read a global of \a module_id through, or
+  /// LLDB_INVALID_INDEX32 when no frame can stand in for that module.
+  uint32_t GetFallbackFrameIndex(uint32_t module_id);
+
+  /// Whether the stub can be told to read the module instance \a module_id
+  /// identifies, which spares the caller from having to find a frame executing
+  /// it.
+  bool CanQueryInstance(uint32_t module_id);
----------------
jasonmolenda wrote:

this is just a query of the qSupported results isn't it, why is the module_id 
needed. (I should read further, but then I might forget)

https://github.com/llvm/llvm-project/pull/213176
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to