[Lldb-commits] [lldb] e42f920 - [lldb] Remove unused private field 'm_orig_rax_info' in RegisterContextLinux_x86_64.h (NFC)

Jie Fu via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 5 04:55:05 PDT 2023


Author: Jie Fu
Date: 2023-04-05T19:54:23+08:00
New Revision: e42f920918ca5b84329970825ce6a69b53f17bdb

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

LOG: [lldb] Remove unused private field 'm_orig_rax_info' in RegisterContextLinux_x86_64.h (NFC)

/data/llvm-project/lldb/source/Plugins/Process/Utility/RegisterContextLinux_x86_64.h:32:30: error: private field 'm_orig_rax_info' is not used [-Werror,-Wunused-private-field]
  lldb_private::RegisterInfo m_orig_rax_info;
                             ^
1 error generated.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/Process/Utility/RegisterContextLinux_x86_64.h b/lldb/source/Plugins/Process/Utility/RegisterContextLinux_x86_64.h
index 2918e5d5ec31..d141ba66b4e2 100644
--- a/lldb/source/Plugins/Process/Utility/RegisterContextLinux_x86_64.h
+++ b/lldb/source/Plugins/Process/Utility/RegisterContextLinux_x86_64.h
@@ -29,7 +29,6 @@ class RegisterContextLinux_x86_64
   const lldb_private::RegisterInfo *m_register_info_p;
   uint32_t m_register_info_count;
   uint32_t m_user_register_count;
-  lldb_private::RegisterInfo m_orig_rax_info;
 };
 
 #endif


        


More information about the lldb-commits mailing list