[Lldb-commits] [lldb] r300373 - [Process/Utility] Remove dead code. NFCI.

Davide Italiano via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 14 15:04:05 PDT 2017


Author: davide
Date: Fri Apr 14 17:04:05 2017
New Revision: 300373

URL: http://llvm.org/viewvc/llvm-project?rev=300373&view=rev
Log:
[Process/Utility] Remove dead code. NFCI.

Modified:
    lldb/trunk/source/Plugins/Process/Utility/RegisterContextOpenBSD_x86_64.cpp

Modified: lldb/trunk/source/Plugins/Process/Utility/RegisterContextOpenBSD_x86_64.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Utility/RegisterContextOpenBSD_x86_64.cpp?rev=300373&r1=300372&r2=300373&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Utility/RegisterContextOpenBSD_x86_64.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Utility/RegisterContextOpenBSD_x86_64.cpp Fri Apr 14 17:04:05 2017
@@ -67,11 +67,6 @@ struct UserArea {
 #include "RegisterInfos_x86_64.h"
 #undef DECLARE_REGISTER_INFOS_X86_64_STRUCT
 
-static std::vector<lldb_private::RegisterInfo> &GetSharedRegisterInfoVector() {
-  static std::vector<lldb_private::RegisterInfo> register_infos;
-  return register_infos;
-}
-
 static const RegisterInfo *
 PrivateGetRegisterInfoPtr(const lldb_private::ArchSpec &target_arch) {
   switch (target_arch.GetMachine()) {




More information about the lldb-commits mailing list