Lines Matching defs:error

35   Status error;
39 error = Status::FromErrno();
40 return error;
44 error = Status::FromErrno();
45 return error;
48 return error;
81 auto error = CanTrace();
82 if (error.Fail())
83 return error.ToError();
242 llvm::Error error = t.CopyWatchpointsFrom(
244 if (error) {
245 LLDB_LOG_ERROR(log, std::move(error),
256 Status error =
258 if (error.Fail())
264 Status error = ReinitializeThreads();
265 if (error.Fail()) {
303 Status error =
305 if (error.Fail())
349 Status error = regctx.GetWatchpointHitIndex(
351 if (error.Fail())
353 "received error while checking for watchpoint hits, pid = "
354 "{0}, LWP = {1}, error = {2}",
355 pid, info.pl_lwpid, error);
410 Status error;
418 error = CanTrace();
419 if (error.Success())
420 error = Status::FromErrno();
428 if (error.Fail())
429 LLDB_LOG(log, "ptrace() failed: {0}", error);
431 return error;
522 Status error;
527 return error;
529 error = Status::FromErrno();
530 return error;
534 Status error;
541 return error;
547 Status error;
550 error = Status::FromErrno();
552 return error;
561 Status error;
572 return error;
596 Status error = PopulateMemoryRegionCache();
597 if (error.Fail()) {
598 return error;
623 return error;
627 return error;
641 return error;
735 Status error = PopulateMemoryRegionCache();
736 if (error.Fail()) {
740 return error;
762 Status error = PopulateMemoryRegionCache();
763 if (error.Fail()) {
767 return error;
791 Status error(errno, eErrorTypePOSIX);
792 LLDB_LOG(log, "waitpid ({0}, &status, _) failed: {1}", GetID(), error);
869 // Need to use WALLSIG otherwise we receive an error with errno=ECHLD At this
906 Status error = NativeProcessFreeBSD::PtraceWrapper(PT_IO, GetID(), &io);
907 if (error.Fail() || io.piod_len == 0)
908 return error;
920 Status error;
935 Status error = NativeProcessFreeBSD::PtraceWrapper(PT_IO, GetID(), &io);
936 if (error.Fail() || io.piod_len == 0)
937 return error;
943 return error;
979 Status error = PtraceWrapper(PT_GETNUMLWPS, GetID(), nullptr, 0, &num_lwps);
980 if (error.Fail())
981 return error;
985 error = PtraceWrapper(PT_GETLWPLIST, GetID(), lwp_ids.data(),
987 if (error.Fail())
988 return error;
994 return error;
1070 Status error;
1081 error = PtraceWrapper(PT_COREDUMP, GetID(), &pc, sizeof(pc));
1084 if (error.Fail())
1085 return error.ToError();