[Lldb-commits] [PATCH] D92603: [lldb] Recognize MachO cpu sub-type	2 as arm64
    Jonas Devlieghere via Phabricator via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Thu Dec  3 13:31:41 PST 2020
    
    
  
This revision was automatically updated to reflect the committed changes.
Closed by commit rG9d9959eeacd7: [lldb] Recognize MachO cpu sub-type 2 as arm64 (authored by JDevlieghere).
Herald added a project: LLDB.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92603/new/
https://reviews.llvm.org/D92603
Files:
  lldb/source/Utility/ArchSpec.cpp
Index: lldb/source/Utility/ArchSpec.cpp
===================================================================
--- lldb/source/Utility/ArchSpec.cpp
+++ lldb/source/Utility/ArchSpec.cpp
@@ -298,6 +298,8 @@
      SUBTYPE_MASK},
     {ArchSpec::eCore_arm_armv7em, llvm::MachO::CPU_TYPE_ARM, 16, UINT32_MAX,
      SUBTYPE_MASK},
+    {ArchSpec::eCore_arm_arm64, llvm::MachO::CPU_TYPE_ARM64, 2, UINT32_MAX,
+     SUBTYPE_MASK}, // FIXME: This should be arm64e once the triple exists.
     {ArchSpec::eCore_arm_arm64, llvm::MachO::CPU_TYPE_ARM64, 1, UINT32_MAX,
      SUBTYPE_MASK},
     {ArchSpec::eCore_arm_arm64, llvm::MachO::CPU_TYPE_ARM64, 0, UINT32_MAX,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92603.309353.patch
Type: text/x-patch
Size: 651 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20201203/992fe509/attachment-0001.bin>
    
    
More information about the lldb-commits
mailing list