[all-commits] [llvm/llvm-project] 340bd0: [lldb] Simplify creating RegisterSets in DynamicRe...

Alex Langford via All-commits all-commits at lists.llvm.org
Fri Jul 10 10:52:38 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 340bd05d5f3c5dbd8bb49618aaaf39188cd2014b
      https://github.com/llvm/llvm-project/commit/340bd05d5f3c5dbd8bb49618aaaf39188cd2014b
  Author: Alex Langford <alangford at apple.com>
  Date:   2026-07-10 (Fri, 10 Jul 2026)

  Changed paths:
    M lldb/include/lldb/Target/DynamicRegisterInfo.h
    M lldb/source/Target/DynamicRegisterInfo.cpp

  Log Message:
  -----------
  [lldb] Simplify creating RegisterSets in DynamicRegisterInfo (#208592)

`DynamicRegisterInfo::GetRegisterSetIndexByName` is only used in
`DynamicRegisterInfo::SetRegisterInfo` so I inlined it and removed the
function. I also noticed that `m_set_names` is only used in this
function for setup, so I made it a local variable instead of a member.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list