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:
parent
5467393a3d
commit
b988fa74ec
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue