[all-commits] [llvm/llvm-project] 769533: Move NativeRegisterContextLinux/RegisterContextPOS...

Muhammad Omair Javaid via All-commits all-commits at lists.llvm.org
Sun Sep 6 21:13:22 PDT 2020


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

  Changed paths:
    M lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp
    M lldb/source/Plugins/Process/FreeBSD/RegisterContextPOSIXProcessMonitor_arm.cpp
    M lldb/source/Plugins/Process/FreeBSD/RegisterContextPOSIXProcessMonitor_arm.h
    M lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.cpp
    M lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.h
    M lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm.cpp
    M lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm.h
    M lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm.cpp
    M lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm.h
    M lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm.cpp
    M lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm.h
    M lldb/source/Plugins/Process/elf-core/ThreadElfCore.cpp

  Log Message:
  -----------
  Move NativeRegisterContextLinux/RegisterContextPOSIX*_arm to RegisterInfoAndSetInterface

This patch removes register set definitions and other redundant code from
NativeRegisterContextLinux/RegisterContextPOSIX*_arm. Register sets are now
moved under RegisterInfosPOSIX_arm which now uses RegisterInfoAndSetInterface.
This is similar to what we earlier did for AArch64.

Reviewed By: labath

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




More information about the All-commits mailing list