Pass fault address to GWP-ASan's changed API.
GWP-ASan changed one of the APIs upstream to now take the fault address as well. This is to support the recoverable mode. Add the fault address as well. Test: gwp_asan_unittest Bug: N/A Change-Id: I8a4edd3fad159d91cc036050d330bbb8f9c8d435
This commit is contained in:
parent
46134b9cae
commit
8a34b179ad
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue