hanchenye-llvm-project/lldb/unittests/Host
Pavel Labath 3508fc8cc5 Add pretty-printer for wait(2) statuses and modernize the code handling them
Summary:
A number of places were trying to decode the result of wait(). Add a simple
utility function that does that and a struct that encapsulates the
decoded result. Then also provide a pretty-printer for that class.

Reviewers: zturner, krytarowski, eugene

Subscribers: lldb-commits, mgorny

Differential Revision: https://reviews.llvm.org/D33998

llvm-svn: 305689
2017-06-19 12:47:50 +00:00
..
linux Remove some ProcFileReader occurences 2017-03-15 15:08:49 +00:00
CMakeLists.txt Add pretty-printer for wait(2) statuses and modernize the code handling them 2017-06-19 12:47:50 +00:00
FileSpecTest.cpp In FileSpec::Equal, short-cut GetNormalizedPath. 2017-03-27 19:12:25 +00:00
FileSystemTest.cpp Remove TimeValue usage from FileSpec.h 2016-11-01 16:11:14 +00:00
HostTest.cpp Add pretty-printer for wait(2) statuses and modernize the code handling them 2017-06-19 12:47:50 +00:00
MainLoopTest.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
SocketAddressTest.cpp Fix the new SocketAddressTest on Windows 2017-04-24 13:34:35 +00:00
SocketTest.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
SymbolsTest.cpp Fix unittest compilation on windows 2016-09-07 08:46:50 +00:00