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:
Tom Tan 2019-01-02 15:06:59 -08:00 committed by Joshua Peraza
parent 5467393a3d
commit b988fa74ec

View file

@ -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