Index: lldb/trunk/source/Host/common/MainLoop.cpp =================================================================== --- lldb/trunk/source/Host/common/MainLoop.cpp +++ lldb/trunk/source/Host/common/MainLoop.cpp @@ -108,7 +108,7 @@ out_events, llvm::array_lengthof(out_events), nullptr); if (num_events < 0) - return Status("kevent() failed with error %d\n", num_events); + return Status(errno, eErrorTypePOSIX); return Status(); }