[Lldb-commits] [lldb] 4ecff91 - lldb/minidump: Add support for the alternate ARM64 constant

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 5 02:42:52 PST 2019


Author: Pavel Labath
Date: 2019-11-05T11:26:06+01:00
New Revision: 4ecff91ed1df05edbdb55cb2ccdf58466f1333b0

URL: https://github.com/llvm/llvm-project/commit/4ecff91ed1df05edbdb55cb2ccdf58466f1333b0
DIFF: https://github.com/llvm/llvm-project/commit/4ecff91ed1df05edbdb55cb2ccdf58466f1333b0.diff

LOG: lldb/minidump: Add support for the alternate ARM64 constant

Added: 
    

Modified: 
    lldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/regions-linux-map.yaml
    lldb/source/Plugins/Process/minidump/MinidumpParser.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/regions-linux-map.yaml b/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/regions-linux-map.yaml
index 680ad623361e..3c0961eba077 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/regions-linux-map.yaml
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/regions-linux-map.yaml
@@ -1,7 +1,7 @@
 --- !minidump
 Streams:         
   - Type:            SystemInfo
-    Processor Arch:  BP_ARM64
+    Processor Arch:  ARM64
     Platform ID:     Linux
     CSD Version:     '15E216'
     CPU:             

diff  --git a/lldb/source/Plugins/Process/minidump/MinidumpParser.cpp b/lldb/source/Plugins/Process/minidump/MinidumpParser.cpp
index 99717e7fe34a..3c0e1cb49d1d 100644
--- a/lldb/source/Plugins/Process/minidump/MinidumpParser.cpp
+++ b/lldb/source/Plugins/Process/minidump/MinidumpParser.cpp
@@ -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;


        


More information about the lldb-commits mailing list