9ff77fd414
Instead of hiding it by skipping it in AsyncAwareStackUnwinder. Skipping it manually meant that we don't expand and see functions which are inlined into handleValue in the stacktrace which might be undesirable and makes stacktraces unnecessarily sensitive to inlining. Filtering based on visibility happens after inlined frame expansion which makes stack trace more stable. Fixes https://github.com/dart-lang/sdk/issues/60684 TEST=vm/dart/awaiter_stacks/* CoreLibraryReviewExempt: pragma only change Cq-Include-Trybots: luci.dart.try:vm-aot-linux-release-x64-try,vm-aot-linux-product-x64-try Change-Id: Ie6e0ad65285dd1d6f77e27e7488e8d46d30c176c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/429660 Reviewed-by: Alexander Markov <alexmarkov@google.com> Commit-Queue: Slava Egorov <vegorov@google.com>