mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-02-19 16:49:40 +00:00
Extract intruction pointer correctly for Windows ARM64
Bug: 893460 Change-Id: Ibbdf734e72c29c4779b6a701dceec1626056a9ba Reviewed-on: https://chromium-review.googlesource.com/c/1393763 Reviewed-by: Joshua Peraza <jperaza@chromium.org>
This commit is contained in:
@@ -976,7 +976,9 @@ bool ExceptionHandler::WriteMinidumpWithExceptionForProcess(
|
||||
#if defined(_M_IX86)
|
||||
exinfo->ContextRecord->Eip;
|
||||
#elif defined(_M_AMD64)
|
||||
exinfo->ContextRecord->Rip;
|
||||
exinfo->ContextRecord->Rip;
|
||||
#elif defined(_M_ARM64)
|
||||
exinfo->ContextRecord->Pc;
|
||||
#else
|
||||
#error Unsupported platform
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user