0a1678c06c
The main interesting thing is that deopt can expand one optimized frame to multiple unoptimized frames, so deopt needs to call __tsan_func_entry enough times to rebalance the stack. Also fixes stack balance for throw error slow paths for AOT. TEST=tsan Bug: https://github.com/dart-lang/sdk/issues/61352 Change-Id: I3fdc8481bc8db7a3aec0fa1938ac3e0e96ac13a5 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/452943 Commit-Queue: Ryan Macnak <rmacnak@google.com> Reviewed-by: Alexander Markov <alexmarkov@google.com>