5f32e78a09
HWASAN tags stack regions (and stack pointers) with 0, but also selectively tags some stack allocations with non-zero tags. These tags need to be cleared when allocation goes out of scope so that stack can be later safely reused - otherwise stale tags confuse HWASAN instrumentation later. This CL teaches Exceptions::JumpToFrame to do that. CL also adds basic build changes to support building with HWASAN, though I don't wire it into CI for now as it can only really run on Android ARM64 TEST=manually on Android phone and on internal tests Bug: b/374433249 Change-Id: I678443dc1de693c999a226bee0d71a6f3582d4f9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/421180 Commit-Queue: Ryan Macnak <rmacnak@google.com> Reviewed-by: Ryan Macnak <rmacnak@google.com> Auto-Submit: Slava Egorov <vegorov@google.com>