Lines Matching defs:error
40 Status error;
44 error = Status::FromErrno();
45 return error;
49 error = Status::FromErrno();
50 return error;
53 return error;
251 Status error = ReinitializeThreads();
252 if (error.Fail()) {
267 Status error = PtraceWrapper(PT_GET_PROCESS_STATE, pid, &pst, sizeof(pst));
268 if (error.Fail()) {
279 Status error =
281 if (error.Fail())
294 Status error = PtraceWrapper(PT_GET_PROCESS_STATE, pid, &pst, sizeof(pst));
295 if (error.Fail()) {
305 error = t.CopyWatchpointsFrom(
307 if (error.Fail()) {
309 pst.pe_lwp, error);
321 error = PtraceWrapper(PT_CONTINUE, pid, reinterpret_cast<void *>(1), 0);
322 if (error.Fail())
333 Status error = regctx.GetWatchpointHitIndex(
335 if (error.Fail())
337 "received error while checking for watchpoint hits, pid = "
338 "{0}, LWP = {1}, error = {2}",
339 pid, info.psi_lwpid, error);
387 Status error;
394 error = Status::FromErrno();
398 if (error.Fail())
399 LLDB_LOG(log, "kill() failed: {0}", error);
401 return error;
408 Status error;
415 error = Status::FromErrno();
422 if (error.Fail())
423 LLDB_LOG(log, "ptrace() failed: {0}", error);
425 return error;
563 Status error;
570 return error;
576 Status error;
579 error = Status::FromErrno();
581 return error;
590 Status error;
601 return error;
615 error = Status::FromErrno();
616 return error;
619 return error;
630 Status error = PopulateMemoryRegionCache();
631 if (error.Fail()) {
632 return error;
657 return error;
661 return error;
675 return error;
693 Status error;
694 error = Status::FromErrorString("not supported");
695 return error;
733 Status error;
734 error = Status::FromErrorString("not supported");
735 return error;
762 Status error = PopulateMemoryRegionCache();
763 if (error.Fail())
764 return error;
784 Status error = PopulateMemoryRegionCache();
785 if (error.Fail())
786 return error;
809 Status error(errno, eErrorTypePOSIX);
810 LLDB_LOG(log, "waitpid ({0}, &status, _) failed: {1}", GetID(), error);
884 // Need to use WALLSIG otherwise we receive an error with errno=ECHLD At this
921 Status error = NativeProcessNetBSD::PtraceWrapper(PT_IO, GetID(), &io);
922 if (error.Fail() || io.piod_len == 0)
923 return error;
935 Status error;
950 Status error = NativeProcessNetBSD::PtraceWrapper(PT_IO, GetID(), &io);
951 if (error.Fail() || io.piod_len == 0)
952 return error;
958 return error;
981 Status error = NativeProcessNetBSD::PtraceWrapper(PT_IO, GetID(), &io);
983 if (error.Fail())
984 return std::error_code(error.GetError(), std::generic_category());
1022 Status error = PtraceWrapper(op, GetID(), &info, sizeof(info));
1024 if (error.Fail()) {
1025 return error;
1030 error = PtraceWrapper(op, GetID(), &info, sizeof(info));
1031 if (error.Fail()) {
1032 return error;
1036 return error;
1106 Status error;
1110 error = PtraceWrapper(PT_DUMPCORE, GetID(), path.data(), path.size());
1111 if (!error.Fail())
1121 error = PtraceWrapper(PT_DUMPCORE, GetID(), path.data(), path.size());
1122 if (error.Fail())
1123 return error.ToError();