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

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

Change-Id: I72c55ea5788981d29f2f52a3a72c38f9679b9dea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2023-01-17 21:31:14 +00:00 committed by Automerger Merge Worker
commit 3f399776e6

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;
}