[all-commits] [llvm/llvm-project] 8770b4: [lldb] Implement ABI::Fix{Code, Data}Address for AA...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Fri Apr 16 13:50:05 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8770b4ecca557b02d37188ae2fa5479e6136b2fb
      https://github.com/llvm/llvm-project/commit/8770b4ecca557b02d37188ae2fa5479e6136b2fb
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2021-04-16 (Fri, 16 Apr 2021)

  Changed paths:
    M lldb/include/lldb/Target/ABI.h
    M lldb/source/Plugins/ABI/AArch64/ABIAArch64.cpp
    M lldb/source/Plugins/ABI/AArch64/ABIAArch64.h
    M lldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.cpp
    M lldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.h
    M lldb/source/Plugins/ABI/AArch64/ABISysV_arm64.cpp
    M lldb/source/Plugins/ABI/AArch64/ABISysV_arm64.h
    M lldb/source/Target/RegisterContextUnwind.cpp

  Log Message:
  -----------
  [lldb] Implement ABI::Fix{Code,Data}Address for AArch64

Implement FixCodeAddress and FixDataAddress for ABIMacOSX_arm64 and
ABISysV_arm64 and add missing calls to RegisterContextUnwind. We need
this to unwind on Apple Silicon where libraries like libSystem are
arm64e even when the program being debugged is arm64.

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


  Commit: db2da0c8f907c444e0bf8b788d8186c4c67db0b2
      https://github.com/llvm/llvm-project/commit/db2da0c8f907c444e0bf8b788d8186c4c67db0b2
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2021-04-16 (Fri, 16 Apr 2021)

  Changed paths:
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp

  Log Message:
  -----------
  [lldb] Set addressable bits from qHostInfo

Read the number of addressable bits from the qHostInfo packet and use it
to set the code and data address mask in the process. The data
(addressing_bits) is already present in the packet.

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


Compare: https://github.com/llvm/llvm-project/compare/550ed575cbbd...db2da0c8f907


More information about the All-commits mailing list