mirror of
https://github.com/dart-lang/sdk
synced 2024-10-07 12:25:02 +00:00
bd4a27ff81
This change sets `top_exit_frame_info` and `vmtag` on FFI leaf calls. We have to set this info on the thread so that the stack walker can interpret the frame correctly. Without it, anyone trying to walk the stack during an FFI leaf call - like the profiler - will misinterpret the top frame and cause a segfault. TEST=Added regression test. Bug: https://github.com/dart-lang/sdk/issues/47594 Change-Id: If83aeab194aa0213aee82558bb9541cd7294a935 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/220360 Reviewed-by: Slava Egorov <vegorov@google.com> Commit-Queue: Clement Skau <cskau@google.com> |
||
---|---|---|
.. | ||
co19 | ||
co19_2 | ||
corelib | ||
corelib_2 | ||
dartdevc | ||
dartdevc_2 | ||
ffi | ||
ffi_2 | ||
language | ||
language_2 | ||
lib | ||
lib_2 | ||
modular | ||
standalone | ||
standalone_2 | ||
web | ||
web_2 | ||
legacy_status_dart2js.csv | ||
README.md |
This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.