Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 634156af411490d40d2e7f0cbb3513470075f9db
https://github.com/WebKit/WebKit/commit/634156af411490d40d2e7f0cbb3513470075f9db
Author: Shu-yu Guo <[email protected]>
Date: 2026-01-11 (Sun, 11 Jan 2026)
Changed paths:
M Source/JavaScriptCore/llint/InPlaceInterpreter.asm
M Source/JavaScriptCore/llint/LLIntCommon.h
M Source/JavaScriptCore/runtime/OptionsList.h
M Source/JavaScriptCore/wasm/WasmIPIntSlowPaths.cpp
M Source/JavaScriptCore/wasm/WasmIPIntSlowPaths.h
Log Message:
-----------
[JSC] Add --traceWasmIPIntExecution option
https://bugs.webkit.org/show_bug.cgi?id=305238
rdar://167878555
Reviewed by Mark Lam.
This PR adds a simple per-opcode execution tracing to IPInt a la LLInt.
Like --traceLLIntExecution, this is controlled by both a compile time flag and
a runtime flag. Both LLINT_TRACING must be defined at compile time and
--traceWasmIPIntExecution=1 must be passed at runtime.
Example output:
<0x1080000e0> 0x1083c0188.wasm-function[0] / 0x16d2505a0: executing +0x0,
I32Const, pc = 0x10819aeb3, mc = 0x1083b00c0
^ ^ ^ ^ ^ ^
| | | | | |
| | | | |
Opcode name
| | | | |
| | | | Bytecode
offset
| | | |
| | | Call frame
| | |
| | Function name or index
| |
| Wasm instance
|
Executing thread
There're no tests for this print-only debugging feature.
Canonical link: https://commits.webkit.org/305437@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications