[Lldb-commits] [PATCH] D33998: Add pretty-printer for wait(2) statuses and modernize the code handling them

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 13 03:45:45 PDT 2017


labath updated this revision to Diff 102309.
labath marked an inline comment as done.
labath added a comment.

Use a switch instead of indexing the array with an enum value


https://reviews.llvm.org/D33998

Files:
  include/lldb/Host/Host.h
  include/lldb/Host/common/NativeProcessProtocol.h
  include/lldb/lldb-private-enumerations.h
  source/Host/common/Host.cpp
  source/Host/common/NativeProcessProtocol.cpp
  source/Plugins/Process/Darwin/NativeProcessDarwin.cpp
  source/Plugins/Process/Linux/NativeProcessLinux.cpp
  source/Plugins/Process/Linux/NativeProcessLinux.h
  source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp
  source/Plugins/Process/NetBSD/NativeProcessNetBSD.h
  source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
  unittests/Host/CMakeLists.txt
  unittests/Host/HostTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33998.102309.patch
Type: text/x-patch
Size: 23260 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20170613/18652287/attachment-0001.bin>


More information about the lldb-commits mailing list