Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e03c10225cc8081620073a3eb8c551160d057fc7
      
https://github.com/WebKit/WebKit/commit/e03c10225cc8081620073a3eb8c551160d057fc7
  Author: Yijia Huang <[email protected]>
  Date:   2025-09-26 (Fri, 26 Sep 2025)

  Changed paths:
    A JSTests/wasm/debugger/README.md
    A JSTests/wasm/debugger/lib/__init__.py
    A JSTests/wasm/debugger/lib/core/__init__.py
    A JSTests/wasm/debugger/lib/core/base.py
    A JSTests/wasm/debugger/lib/core/environment.py
    A JSTests/wasm/debugger/lib/core/registry.py
    A JSTests/wasm/debugger/lib/core/utils.py
    A JSTests/wasm/debugger/lib/discovery/__init__.py
    A JSTests/wasm/debugger/lib/discovery/auto_discovery.py
    A JSTests/wasm/debugger/lib/runners/__init__.py
    A JSTests/wasm/debugger/lib/runners/parallel.py
    A JSTests/wasm/debugger/lib/runners/process_manager.py
    A JSTests/wasm/debugger/lib/runners/sequential.py
    A JSTests/wasm/debugger/resources/add/add.c
    A JSTests/wasm/debugger/resources/add/add.wasm
    A JSTests/wasm/debugger/resources/add/add.wat
    A JSTests/wasm/debugger/resources/add/main.js
    A JSTests/wasm/debugger/test-wasm-debugger.py
    A JSTests/wasm/debugger/tests/__init__.py
    A JSTests/wasm/debugger/tests/add.py
    A JSTests/wasm/debugger/tests/jsc.py
    M Source/JavaScriptCore/CMakeLists.txt
    M Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
    M Source/JavaScriptCore/Sources.txt
    M Source/JavaScriptCore/dfg/DFGNode.h
    M Source/JavaScriptCore/jsc.cpp
    M Source/JavaScriptCore/llint/InPlaceInterpreter.asm
    M Source/JavaScriptCore/llint/InPlaceInterpreter64.asm
    M Source/JavaScriptCore/runtime/OptionsList.h
    M Source/JavaScriptCore/runtime/StackManager.h
    M Source/JavaScriptCore/runtime/VM.h
    M Source/JavaScriptCore/runtime/VMTraps.h
    M Source/JavaScriptCore/shell/CMakeLists.txt
    M Source/JavaScriptCore/shell/PlatformPlayStation.cmake
    M Source/JavaScriptCore/wasm/WasmEntryPlan.h
    M Source/JavaScriptCore/wasm/WasmIPIntGenerator.cpp
    M Source/JavaScriptCore/wasm/WasmIPIntGenerator.h
    M Source/JavaScriptCore/wasm/WasmIPIntSlowPaths.cpp
    M Source/JavaScriptCore/wasm/WasmIPIntSlowPaths.h
    M Source/JavaScriptCore/wasm/WasmModule.cpp
    M Source/JavaScriptCore/wasm/WasmModule.h
    M Source/JavaScriptCore/wasm/WasmModuleInformation.cpp
    M Source/JavaScriptCore/wasm/WasmModuleInformation.h
    A Source/JavaScriptCore/wasm/debugger/README.md
    A Source/JavaScriptCore/wasm/debugger/WasmBreakpointManager.cpp
    A Source/JavaScriptCore/wasm/debugger/WasmBreakpointManager.h
    A Source/JavaScriptCore/wasm/debugger/WasmDebugServer.cpp
    A Source/JavaScriptCore/wasm/debugger/WasmDebugServer.h
    A Source/JavaScriptCore/wasm/debugger/WasmDebugServerUtilities.cpp
    A Source/JavaScriptCore/wasm/debugger/WasmDebugServerUtilities.h
    A Source/JavaScriptCore/wasm/debugger/WasmExecutionHandler.cpp
    A Source/JavaScriptCore/wasm/debugger/WasmExecutionHandler.h
    A Source/JavaScriptCore/wasm/debugger/WasmMemoryHandler.cpp
    A Source/JavaScriptCore/wasm/debugger/WasmMemoryHandler.h
    A Source/JavaScriptCore/wasm/debugger/WasmModuleDebugInfo.cpp
    A Source/JavaScriptCore/wasm/debugger/WasmModuleDebugInfo.h
    A Source/JavaScriptCore/wasm/debugger/WasmModuleManager.cpp
    A Source/JavaScriptCore/wasm/debugger/WasmModuleManager.h
    A Source/JavaScriptCore/wasm/debugger/WasmQueryHandler.cpp
    A Source/JavaScriptCore/wasm/debugger/WasmQueryHandler.h
    A Source/JavaScriptCore/wasm/debugger/WasmVirtualAddress.cpp
    A Source/JavaScriptCore/wasm/debugger/WasmVirtualAddress.h
    A Source/JavaScriptCore/wasm/debugger/testwasmdebugger.cpp
    M Source/JavaScriptCore/wasm/generateWasmOpsHeader.py
    M Source/JavaScriptCore/wasm/js/JSWebAssemblyInstance.cpp
    M Source/JavaScriptCore/wasm/js/JSWebAssemblyInstance.h
    M Source/JavaScriptCore/wasm/js/JSWebAssemblyModule.cpp
    M Source/WTF/wtf/Lock.h
    M Tools/Scripts/run-javascriptcore-tests
    M Tools/TestWebKitAPI/Tests/JavaScriptCore/glib/TestJSC.cpp

  Log Message:
  -----------
  [JSC] Add LLDB debugging infrastructure for WebAssembly (single VM)
https://bugs.webkit.org/show_bug.cgi?id=299214
rdar://160971785

Reviewed by Keith Miller.

This patch introduces a WebAssembly debugging solution that enables LLDB 
debugging
of WebAssembly code running in JavaScriptCore's IPInt tier through the GDB 
Remote
Serial Protocol. Currently supports single VM debugging scenarios.

Key components:
- WasmDebugServer: TCP server implementing GDB Remote Protocol
- Virtual address space management for LLDB compatibility
- Breakpoint and stepping support for WebAssembly bytecode
- Memory inspection and call stack visualization
- Comprehensive test framework with parallel execution

For detailed architecture and usage information, see:
1. Source/JavaScriptCore/wasm/debugger/README.md
2. JSTests/wasm/debugger/README.md

Canonical link: https://commits.webkit.org/300619@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to