aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriele Svelto <gsvelto@mozilla.com>2019-01-29 23:08:29 +0100
committerGabriele Svelto <gsvelto@mozilla.com>2019-01-30 16:20:00 +0000
commit13b234ce241210ca4d91bf0bb48db37ea589ba07 (patch)
tree399f05f53d4aaff13c06a6dd705736f7384924c8
parentIntroduce SetFirstChanceHandler with more strict signature (diff)
downloadbreakpad-13b234ce241210ca4d91bf0bb48db37ea589ba07.tar.xz
Make the minidump processor correctly populate the CPU information string for Microsoft-style ARM64 minidumps
This affects the output of tools like minidump_stackwalk which currently print out the hexadecimal representation of the architecture instead of the "arm64" string. BUG=780 Change-Id: Id1d9d65fa5f3509c8c6580e2e3042f7d682b52be Reviewed-on: https://chromium-review.googlesource.com/c/1412004 Reviewed-by: Mike Frysinger <vapier@chromium.org>
-rw-r--r--src/processor/minidump_processor.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/processor/minidump_processor.cc b/src/processor/minidump_processor.cc
index 431a2811..2b40cf96 100644
--- a/src/processor/minidump_processor.cc
+++ b/src/processor/minidump_processor.cc
@@ -535,6 +535,7 @@ bool MinidumpProcessor::GetCPUInfo(Minidump *dump, SystemInfo *info) {
break;
}
+ case MD_CPU_ARCHITECTURE_ARM64:
case MD_CPU_ARCHITECTURE_ARM64_OLD: {
info->cpu = "arm64";
break;