diff options
author | Tom Tan <Tom.Tan@microsoft.com> | 2019-01-02 15:06:59 -0800 |
---|---|---|
committer | Joshua Peraza <jperaza@chromium.org> | 2019-01-03 00:10:28 +0000 |
commit | b988fa74ec18de6214b18f723e48331d9a7802ae (patch) | |
tree | a56412d69ca0f6b537af762fd5a96cd6a02d8d71 /src | |
parent | support mistaken-pull-closer for automatically clearing incoming PRs (diff) | |
download | breakpad-b988fa74ec18de6214b18f723e48331d9a7802ae.tar.xz |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/client/windows/handler/exception_handler.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/windows/handler/exception_handler.cc b/src/client/windows/handler/exception_handler.cc index c369b65d..ad45b200 100644 --- a/src/client/windows/handler/exception_handler.cc +++ b/src/client/windows/handler/exception_handler.cc @@ -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 |