[Lldb-commits] [PATCH] D30287: Introduce support for Debug Registers in RegisterContextNetBSD_x86_64

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 23 02:10:52 PST 2017


labath accepted this revision.
labath added a comment.
This revision is now accepted and ready to land.

Good stuff, just remove the unused function.



================
Comment at: source/Plugins/Process/Utility/RegisterContextNetBSD_x86_64.cpp:87
+
+static std::vector<lldb_private::RegisterInfo> &GetSharedRegisterInfoVector() {
+  static std::vector<lldb_private::RegisterInfo> register_infos;
----------------
It looks like you copied this from freebsd code, but it does not appear to be used. Can this function be removed?


Repository:
  rL LLVM

https://reviews.llvm.org/D30287





More information about the lldb-commits mailing list