Fix builds Windows and OSX builds after Connection refactor in r287922
authorPavel Labath <labath@google.com>
Fri, 25 Nov 2016 14:43:37 +0000 (14:43 +0000)
committerPavel Labath <labath@google.com>
Fri, 25 Nov 2016 14:43:37 +0000 (14:43 +0000)
commitce8d6d9c6cec171f53ca45d776ad8e85538fbb99
tree37a66485cc83d389596673ae159140cd26524c2f
parentc9379701758cc74d28f6a94e0e07292fed3a7ff6
Fix builds Windows and OSX builds after Connection refactor in r287922

Switch various bits of platform-specific code to chrono that I did not notice
when doing a linux build. This exposed a bug that ConnectionGenericFileWindows
did not handle the magic UINT32_MAX timeout value (instead it waited for about an
hour, which is close enough I guess). Fix that as well.

llvm-svn: 287927
lldb/include/lldb/Host/windows/ConnectionGenericFileWindows.h
lldb/source/Host/macosx/Host.mm
lldb/source/Host/windows/ConnectionGenericFileWindows.cpp
lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.cpp