Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cce33018ccdd163e1c5e15931ad3d6e3fb7a0642
https://github.com/WebKit/WebKit/commit/cce33018ccdd163e1c5e15931ad3d6e3fb7a0642
Author: Sosuke Suzuki <[email protected]>
Date: 2025-10-28 (Tue, 28 Oct 2025)
Changed paths:
A JSTests/stress/async-stack-trace-tla.js
M Source/JavaScriptCore/interpreter/Interpreter.cpp
Log Message:
-----------
[JSC] Enable async stack trace with TLA
https://bugs.webkit.org/show_bug.cgi?id=301561
Reviewed by Yusuke Suzuki.
https://commits.webkit.org/301095@main changed async frame detection based on
whether the
VMEntryRecord matches. This prevented getting stack traces within function
calls by TLA.
This patch changes to check if a generator context remains after stack
traversal completes,
in order to fix that problem.
Test: JSTests/stress/async-stack-trace-tla.js
* JSTests/stress/async-stack-trace-tla.js: Added.
(shouldBe):
(async foo):
(async bar):
(catch):
* Source/JavaScriptCore/interpreter/Interpreter.cpp:
(JSC::Interpreter::getStackTrace):
Canonical link: https://commits.webkit.org/302270@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications