aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Tan <Tom.Tan@microsoft.com>2019-01-02 15:06:59 -0800
committerJoshua Peraza <jperaza@chromium.org>2019-01-03 00:10:28 +0000
commitb988fa74ec18de6214b18f723e48331d9a7802ae (patch)
treea56412d69ca0f6b537af762fd5a96cd6a02d8d71 /src
parentsupport mistaken-pull-closer for automatically clearing incoming PRs (diff)
downloadbreakpad-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.cc4
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