[all-commits] [llvm/llvm-project] f114f0: [lldb] Fix ppc64 detection in lldb

serge-sans-paille via All-commits all-commits at lists.llvm.org
Tue May 3 03:17:55 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f114f009486816ed4b3bf984f0fbbb8fc80914f6
      https://github.com/llvm/llvm-project/commit/f114f009486816ed4b3bf984f0fbbb8fc80914f6
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2022-05-03 (Tue, 03 May 2022)

  Changed paths:
    M lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
    M lldb/source/Utility/ArchSpec.cpp
    M lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py
    A lldb/test/API/functionalities/postmortem/elf-core/linux-ppc64.core
    A lldb/test/API/functionalities/postmortem/elf-core/linux-ppc64.out

  Log Message:
  -----------
  [lldb] Fix ppc64 detection in lldb

Currently, ppc64le and ppc64 (defaulting to big endian) have the same
descriptor, thus the linear scan always return ppc64le. Handle that through
subtype.

Differential Revision: https://reviews.llvm.org/D124760




More information about the All-commits mailing list