lldb/minidump: Add support for the alternate ARM64 constant

This commit is contained in:
Pavel Labath 2019-11-05 11:26:06 +01:00
parent 28cf9698ab
commit 4ecff91ed1
2 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
--- !minidump
Streams:
- Type: SystemInfo
Processor Arch: BP_ARM64
Processor Arch: ARM64
Platform ID: Linux
CSD Version: '15E216'
CPU:

View File

@ -173,6 +173,7 @@ ArchSpec MinidumpParser::GetArchitecture() {
case ProcessorArchitecture::ARM:
triple.setArch(llvm::Triple::ArchType::arm);
break;
case ProcessorArchitecture::ARM64:
case ProcessorArchitecture::BP_ARM64:
triple.setArch(llvm::Triple::ArchType::aarch64);
break;