[all-commits] [llvm/llvm-project] 4923dc: Remove use of multiple reg index enums by Register...

Muhammad Omair Javaid via All-commits all-commits at lists.llvm.org
Mon Jul 20 02:55:36 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4923dca9bd8fe8a635cbc3d4f8affc4d03bdb0ca
      https://github.com/llvm/llvm-project/commit/4923dca9bd8fe8a635cbc3d4f8affc4d03bdb0ca
  Author: Muhammad Omair Javaid <omair.javaid at linaro.org>
  Date:   2020-07-20 (Mon, 20 Jul 2020)

  Changed paths:
    M lldb/source/Plugins/Process/FreeBSD/RegisterContextPOSIXProcessMonitor_arm64.cpp
    M lldb/source/Plugins/Process/FreeBSD/RegisterContextPOSIXProcessMonitor_arm64.h
    M lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm64.cpp
    M lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm64.h

  Log Message:
  -----------
  Remove use of multiple reg index enums by RegisterContextPOSIX_arm64

Summary:
This patch removes dependence of RegisterContextPOSIX_arm64 on register number enums defined in lldb-arm64-register-enums.h.
RegisterContextPOSIX_arm64 makes use of helper functions to access register numbers defined in RegisterInfos_arm64.h via RegisterInfosPOSIX_arm64.

Reviewers: labath

Reviewed By: labath

Subscribers: emaste, kristof.beyls, arphaman, danielkiss, lldb-commits

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


  Commit: 7ca9b589c45302feb28c0b3b0e80088c0901bb40
      https://github.com/llvm/llvm-project/commit/7ca9b589c45302feb28c0b3b0e80088c0901bb40
  Author: Muhammad Omair Javaid <omair.javaid at linaro.org>
  Date:   2020-07-20 (Mon, 20 Jul 2020)

  Changed paths:
    R lldb/source/Plugins/Process/Linux/LinuxPTraceDefines_arm64sve.h
    A lldb/source/Plugins/Process/Utility/LinuxPTraceDefines_arm64sve.h

  Log Message:
  -----------
  Remove Linux sysroot dependencies of SVE PT macros

Summary:
SVE elf note data requires SVE PT macros for reading writing data. Same macros are used by Linux ptrace SVE register access.
This patch makes necessary changes to lldb/source/Plugins/Process/Linux/LinuxPTraceDefines_arm64sve.h in order to make them sysroot independent.

Reviewers: labath, rengolin

Reviewed By: labath

Subscribers: tschuett, lldb-commits, kristof.beyls

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


Compare: https://github.com/llvm/llvm-project/compare/9b7c43d341da...7ca9b589c453


More information about the All-commits mailing list