[Lldb-commits] [PATCH] D111408: [lldb] [DynamicRegisterInfo] Remove non-const GetRegisterInfoAtIndex()
Michał Górny via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Oct 11 03:22:51 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG36195d7d80e3: [lldb] [DynamicRegisterInfo] Remove non-const GetRegisterInfoAtIndex() (authored by mgorny).
Herald added a project: LLDB.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111408/new/
https://reviews.llvm.org/D111408
Files:
lldb/include/lldb/Target/DynamicRegisterInfo.h
lldb/source/Target/DynamicRegisterInfo.cpp
Index: lldb/source/Target/DynamicRegisterInfo.cpp
===================================================================
--- lldb/source/Target/DynamicRegisterInfo.cpp
+++ lldb/source/Target/DynamicRegisterInfo.cpp
@@ -691,12 +691,6 @@
return nullptr;
}
-RegisterInfo *DynamicRegisterInfo::GetRegisterInfoAtIndex(uint32_t i) {
- if (i < m_regs.size())
- return &m_regs[i];
- return nullptr;
-}
-
const RegisterInfo *DynamicRegisterInfo::GetRegisterInfo(uint32_t kind,
uint32_t num) const {
uint32_t reg_index = ConvertRegisterKindToRegisterNumber(kind, num);
Index: lldb/include/lldb/Target/DynamicRegisterInfo.h
===================================================================
--- lldb/include/lldb/Target/DynamicRegisterInfo.h
+++ lldb/include/lldb/Target/DynamicRegisterInfo.h
@@ -55,8 +55,6 @@
const lldb_private::RegisterInfo *GetRegisterInfoAtIndex(uint32_t i) const;
- lldb_private::RegisterInfo *GetRegisterInfoAtIndex(uint32_t i);
-
const lldb_private::RegisterSet *GetRegisterSet(uint32_t i) const;
uint32_t GetRegisterSetIndexByName(lldb_private::ConstString &set_name,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111408.378610.patch
Type: text/x-patch
Size: 1170 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20211011/54db009a/attachment-0001.bin>
More information about the lldb-commits
mailing list