Files
sdk/runtime/vm
Ryan Macnak cb59df7acf [vm, ffi] Better handle errors that are not unhandled exceptions during FFI callbacks.
Before this change, an error reaching an FFI callback would attempt to execute the normal invocation stub from the beginning in the FFI callback's frame, which quickly crashes. After this change, the runtime recognizes this marker use of the invocation stub and returns to the FFI callback function instead.

TEST=ffi/unwind
Bug: https://github.com/dart-lang/sdk/issues/39487
Change-Id: I477cfcfc236e6cf518ebfe52860ba49e466ebf8b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/409562
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
2025-02-19 09:40:34 -08:00
..
2024-07-23 10:43:43 +00:00
2024-04-17 19:14:41 +00:00
2023-03-06 22:06:59 +00:00
2024-11-12 20:28:50 +00:00
2023-06-23 20:35:00 +00:00
2023-09-12 16:22:19 +00:00
2023-06-23 20:35:00 +00:00
2023-06-23 20:35:00 +00:00
2023-06-23 20:35:00 +00:00
2025-02-11 20:09:11 -08:00
2024-10-08 17:23:43 +00:00
2024-11-19 17:49:09 +00:00
2024-09-11 12:51:23 +00:00
2023-06-23 20:35:00 +00:00
2024-04-17 19:14:41 +00:00
2025-02-11 20:09:11 -08:00
2025-02-11 20:09:11 -08:00
2024-03-20 20:08:13 +00:00
2024-04-17 19:14:41 +00:00
2024-04-17 19:14:41 +00:00
2025-02-11 20:09:11 -08:00
2025-02-11 20:09:11 -08:00
2022-12-29 10:18:02 +00:00
2023-01-06 07:48:22 +00:00
2024-04-17 19:14:41 +00:00
2025-02-04 08:13:29 -08:00
2024-11-12 20:28:50 +00:00
2024-04-17 19:14:41 +00:00
2024-11-12 20:28:50 +00:00
2024-03-20 20:08:13 +00:00
2024-11-12 20:28:50 +00:00
2024-12-20 11:30:51 -08:00
2024-04-17 19:14:41 +00:00