[Lldb-commits] [lldb] [lldb] Add WebAssembly Process Plugin (PR #150143)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 28 01:53:47 PDT 2025


================
@@ -0,0 +1,89 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLDB_SOURCE_PLUGINS_PROCESS_WASM_PROCESSWASM_H
+#define LLDB_SOURCE_PLUGINS_PROCESS_WASM_PROCESSWASM_H
+
+#include "Plugins/Process/gdb-remote/ProcessGDBRemote.h"
+
+namespace lldb_private {
+namespace wasm {
+
+/// Each WebAssembly module has separated address spaces for Code and Memory.
+/// A WebAssembly module also has a Data section which, when the module is
+/// loaded, gets mapped into a region in the module Memory.
+enum WasmAddressType { Memory = 0x00, Object = 0x01, Invalid = 0x03 };
----------------
DavidSpickett wrote:

Ping on this.

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


More information about the lldb-commits mailing list