forked from OSchip/llvm-project
lldb/minidump: Add support for the alternate ARM64 constant
This commit is contained in:
parent
28cf9698ab
commit
4ecff91ed1
|
@ -1,7 +1,7 @@
|
||||||
--- !minidump
|
--- !minidump
|
||||||
Streams:
|
Streams:
|
||||||
- Type: SystemInfo
|
- Type: SystemInfo
|
||||||
Processor Arch: BP_ARM64
|
Processor Arch: ARM64
|
||||||
Platform ID: Linux
|
Platform ID: Linux
|
||||||
CSD Version: '15E216'
|
CSD Version: '15E216'
|
||||||
CPU:
|
CPU:
|
||||||
|
|
|
@ -173,6 +173,7 @@ ArchSpec MinidumpParser::GetArchitecture() {
|
||||||
case ProcessorArchitecture::ARM:
|
case ProcessorArchitecture::ARM:
|
||||||
triple.setArch(llvm::Triple::ArchType::arm);
|
triple.setArch(llvm::Triple::ArchType::arm);
|
||||||
break;
|
break;
|
||||||
|
case ProcessorArchitecture::ARM64:
|
||||||
case ProcessorArchitecture::BP_ARM64:
|
case ProcessorArchitecture::BP_ARM64:
|
||||||
triple.setArch(llvm::Triple::ArchType::aarch64);
|
triple.setArch(llvm::Triple::ArchType::aarch64);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue