[all-commits] [llvm/llvm-project] 9d9959: [lldb] Recognize MachO cpu sub-type 2 as arm64

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Thu Dec 3 13:31:51 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d9959eeacd7222277b9a4ea82a2f59c2bdec5f7
      https://github.com/llvm/llvm-project/commit/9d9959eeacd7222277b9a4ea82a2f59c2bdec5f7
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-12-03 (Thu, 03 Dec 2020)

  Changed paths:
    M lldb/source/Utility/ArchSpec.cpp

  Log Message:
  -----------
  [lldb] Recognize MachO cpu sub-type 2 as arm64

Make sure we recognize cpu sub-type 2 as arm64. In reality it's arm64e,
but we don't have the triple for that. Without this patch, we fall back
to unknown-apple-macosx- for the default architecture, which breaks
things like running expressions without a target.

Differential revision: https://reviews.llvm.org/D92603




More information about the All-commits mailing list