[all-commits] [llvm/llvm-project] 86a58f: [lldb] [DynamicRegisterInfo] Pass name/alt_name vi...

Michał Górny via All-commits all-commits at lists.llvm.org
Thu Sep 16 03:00:34 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 86a58f10284dea118703ecde0ef5b9a4f6e4d8be
      https://github.com/llvm/llvm-project/commit/86a58f10284dea118703ecde0ef5b9a4f6e4d8be
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2021-09-16 (Thu, 16 Sep 2021)

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

  Log Message:
  -----------
  [lldb] [DynamicRegisterInfo] Pass name/alt_name via RegisterInfo

Remove the name and alt_name parameters from AddRegister() and instead
pass them via RegisterInfo.name and .alt_name fields.  This makes
the API simpler and removes some duplication.

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




More information about the All-commits mailing list