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

serge-sans-paille via All-commits all-commits at lists.llvm.org
Thu May 5 00:22:29 PDT 2022


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

  Changed paths:
    M lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
    M lldb/source/Utility/ArchSpec.cpp
    A lldb/test/Shell/Breakpoint/Inputs/ppc64le-localentry.s
    M lldb/test/Shell/Breakpoint/ppc64-localentry.test
    A lldb/test/Shell/Breakpoint/ppc64le-localentry.test

  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.

This is a recommit of f114f009486816ed4b3bf984f0fbbb8fc80914f6 with a new test
setup that doesn't involves (unsupported) corefiles.

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




More information about the All-commits mailing list