[Lldb-commits] [lldb] e289b53 - [lldb] Remove unused functions from RegisterContextLinux_x86

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 5 11:16:56 PDT 2023


Author: Pavel Labath
Date: 2023-04-05T20:16:48+02:00
New Revision: e289b53f4d9bffd71613d6f91747bf9bda0ae352

URL: https://github.com/llvm/llvm-project/commit/e289b53f4d9bffd71613d6f91747bf9bda0ae352
DIFF: https://github.com/llvm/llvm-project/commit/e289b53f4d9bffd71613d6f91747bf9bda0ae352.diff

LOG: [lldb] Remove unused functions from RegisterContextLinux_x86

These should be overridden by individual subclasses, they ended up here
because of copy-pasta.

Added: 
    

Modified: 
    lldb/source/Plugins/Process/Utility/RegisterContextLinux_x86.h

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/Process/Utility/RegisterContextLinux_x86.h b/lldb/source/Plugins/Process/Utility/RegisterContextLinux_x86.h
index 663c1d9d123d5..0e1863864aa6c 100644
--- a/lldb/source/Plugins/Process/Utility/RegisterContextLinux_x86.h
+++ b/lldb/source/Plugins/Process/Utility/RegisterContextLinux_x86.h
@@ -19,15 +19,6 @@ class RegisterContextLinux_x86 : public RegisterInfoInterface {
                            RegisterInfo orig_ax_info)
       : RegisterInfoInterface(target_arch), m_orig_ax_info(orig_ax_info) {}
 
-  static size_t GetGPRSizeStatic();
-  size_t GetGPRSize() const override { return GetGPRSizeStatic(); }
-
-  const lldb_private::RegisterInfo *GetRegisterInfo() const override;
-
-  uint32_t GetRegisterCount() const override;
-
-  uint32_t GetUserRegisterCount() const override;
-
   const RegisterInfo &GetOrigAxInfo() const { return m_orig_ax_info; }
 
 private:


        


More information about the lldb-commits mailing list