Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6ed33cad1c017e293bf2794e3bb2efa6dfaad962
      
https://github.com/WebKit/WebKit/commit/6ed33cad1c017e293bf2794e3bb2efa6dfaad962
  Author: Yijia Huang <yijia_hu...@apple.com>
  Date:   2025-10-01 (Wed, 01 Oct 2025)

  Changed paths:
    M JSTests/wasm/debugger/README.md
    M JSTests/wasm/debugger/lib/core/base.py
    M JSTests/wasm/debugger/lib/core/environment.py
    R JSTests/wasm/debugger/resources/add/add.c
    R JSTests/wasm/debugger/resources/add/add.wasm
    R JSTests/wasm/debugger/resources/add/add.wat
    R JSTests/wasm/debugger/resources/add/main.js
    A JSTests/wasm/debugger/resources/c-wasm/add/add.c
    A JSTests/wasm/debugger/resources/c-wasm/add/add.wasm
    A JSTests/wasm/debugger/resources/c-wasm/add/main.js
    A JSTests/wasm/debugger/resources/swift-wasm/test/Package.swift
    A JSTests/wasm/debugger/resources/swift-wasm/test/Sources/test/test.swift
    A JSTests/wasm/debugger/resources/swift-wasm/test/main.js
    A JSTests/wasm/debugger/resources/swift-wasm/test/test.wasm
    M JSTests/wasm/debugger/test-wasm-debugger.py
    R JSTests/wasm/debugger/tests/add.py
    A JSTests/wasm/debugger/tests/tests.py
    M Source/JavaScriptCore/wasm/debugger/README.md
    M Source/JavaScriptCore/wasm/debugger/WasmDebugServer.cpp
    M Source/JavaScriptCore/wasm/debugger/WasmDebugServer.h

  Log Message:
  -----------
  [JSC] Add Swift WASM debugging tests
https://bugs.webkit.org/show_bug.cgi?id=299911
rdar://161691832

Reviewed by Yusuke Suzuki.

This patch adds a simple Swift WASM test case.

Key changes:

1. Add Swift WASM test infrastructure
    - New Swift test case with proper function debugging
    - Full Swift debugging workflow: breakpoints, stepping, variable inspection
    - Memory region testing for Swift-compiled WASM modules

2. Reorganize test structure for multi-language support
    - Move existing C tests to resources/c-wasm/ for better organization
    - Add resources/swift-wasm/ for Swift WASM tests
    - Consolidate test cases in tests.py supporting both C and Swift

3. Add GDB protocol thread management support
    - Implement H packet handling (Hc/Hg) for LLDB compatibility
    - Support standard thread operations for single-threaded WASM context

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



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

Reply via email to