Merge "Pass fault address to GWP-ASan's changed API." am: a812f45678

Original change: https://android-review.googlesource.com/c/platform/system/core/+/2385373

Change-Id: I2b6e23cde0555fe4ed79098f5cb067ceec5ef381
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2023-01-17 20:57:14 +00:00 committed by Automerger Merge Worker
commit 5e8b596f13

View file

@ -88,7 +88,7 @@ GwpAsanCrashData::GwpAsanCrashData(unwindstack::Memory* process_memory,
thread_id_ = thread_info.tid;
// Grab the internal error address, if it exists.
uintptr_t internal_crash_address = __gwp_asan_get_internal_crash_address(&state_);
uintptr_t internal_crash_address = __gwp_asan_get_internal_crash_address(&state_, crash_address_);
if (internal_crash_address) {
crash_address_ = internal_crash_address;
}