[Lldb-commits] [lldb] r259686 - [NetBSD] Remove dead code.

Davide Italiano via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 3 12:13:50 PST 2016


Author: davide
Date: Wed Feb  3 14:13:50 2016
New Revision: 259686

URL: http://llvm.org/viewvc/llvm-project?rev=259686&view=rev
Log:
[NetBSD] Remove dead code.

PR:		http://reviews.llvm.org/D16818

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

Modified: lldb/trunk/source/Plugins/Process/Utility/RegisterContextNetBSD_x86_64.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Utility/RegisterContextNetBSD_x86_64.cpp?rev=259686&r1=259685&r2=259686&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Utility/RegisterContextNetBSD_x86_64.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Utility/RegisterContextNetBSD_x86_64.cpp Wed Feb  3 14:13:50 2016
@@ -305,13 +305,6 @@ g_register_infos_x86_64[] =
 // End of cherry-pick of RegisterInfos_x86_64.h
 //---------------------------------------------------------------------------
 
-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)
 {




More information about the lldb-commits mailing list