Files
sdk/runtime
Alexander Markov 08b7552b60 [vm/simulators] Check for C++ stack overflow when entering runtime in simulators
On simulated architectures (simarm, simarm64) machine code checks stack
overflow of the simulated (arm/arm64) stack. However, it is also
possible to overflow C++ stack used by simulator and runtime if runtime
code is called recursively.

This change adds C++ stack overflow check on entry into the runtime
code (on simulated architectures).

Fixes https://github.com/dart-lang/sdk/issues/42936

Change-Id: If8f9388a1edc06044402f052c1d10d79063477e9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/157103
Reviewed-by: Régis Crelier <regis@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2020-08-05 02:01:36 +00:00
..