[Lldb-commits] [PATCH] D16818: [lldb/NetBSD] Remove dead function. Unbreak the build with -Werror

Davide Italiano via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 2 11:51:59 PST 2016


davide created this revision.
davide added a reviewer: krytarowski.
davide added a subscriber: lldb-commits.

For reference: http://reviews.llvm.org/D1650

http://reviews.llvm.org/D16818

Files:
  source/Plugins/Process/Utility/RegisterContextNetBSD_x86_64.cpp

Index: source/Plugins/Process/Utility/RegisterContextNetBSD_x86_64.cpp
===================================================================
--- source/Plugins/Process/Utility/RegisterContextNetBSD_x86_64.cpp
+++ source/Plugins/Process/Utility/RegisterContextNetBSD_x86_64.cpp
@@ -305,13 +305,6 @@
 // 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)
 {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16818.46686.patch
Type: text/x-patch
Size: 713 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160202/4d2da69a/attachment.bin>


More information about the lldb-commits mailing list