diff options
Diffstat (limited to 'debuggerd/libdebuggerd/gwp_asan.cpp')
-rw-r--r-- | debuggerd/libdebuggerd/gwp_asan.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debuggerd/libdebuggerd/gwp_asan.cpp b/debuggerd/libdebuggerd/gwp_asan.cpp index f27136558f..9750fc4b04 100644 --- a/debuggerd/libdebuggerd/gwp_asan.cpp +++ b/debuggerd/libdebuggerd/gwp_asan.cpp @@ -72,8 +72,8 @@ GwpAsanCrashData::GwpAsanCrashData(unwindstack::Memory* process_memory, // Get the external crash address from the thread info. crash_address_ = 0u; - if (signal_has_si_addr(thread_info.siginfo)) { - crash_address_ = reinterpret_cast<uintptr_t>(thread_info.siginfo->si_addr); + if (process_info.has_fault_address) { + crash_address_ = process_info.untagged_fault_address; } // Ensure the error belongs to GWP-ASan. |