• Home
  • Raw
  • Download

Lines Matching refs:ErrorMsg

99     EvalResult() : Value(0), ErrorMsg("") {}  in EvalResult()
100 EvalResult(uint64_t Value) : Value(Value), ErrorMsg("") {} in EvalResult()
101 EvalResult(std::string ErrorMsg) in EvalResult() argument
102 : Value(0), ErrorMsg(std::move(ErrorMsg)) {} in EvalResult()
104 bool hasError() const { return ErrorMsg != ""; } in hasError()
105 const std::string &getErrorMsg() const { return ErrorMsg; } in getErrorMsg()
109 std::string ErrorMsg; member in llvm::RuntimeDyldCheckerExprEval::EvalResult
132 std::string ErrorMsg("Encountered unexpected token '"); in unexpectedToken() local
133 ErrorMsg += getTokenForError(TokenStart); in unexpectedToken()
135 ErrorMsg += "' while parsing subexpression '"; in unexpectedToken()
136 ErrorMsg += SubExpr; in unexpectedToken()
138 ErrorMsg += "'"; in unexpectedToken()
140 ErrorMsg += " "; in unexpectedToken()
141 ErrorMsg += ErrText; in unexpectedToken()
143 return EvalResult(std::move(ErrorMsg)); in unexpectedToken()
362 std::string ErrorMsg = ""; in evalStubAddr() local
363 std::tie(StubAddr, ErrorMsg) = Checker.getStubAddrFor( in evalStubAddr()
366 if (ErrorMsg != "") in evalStubAddr()
367 return std::make_pair(EvalResult(ErrorMsg), ""); in evalStubAddr()
399 std::string ErrorMsg = ""; in evalSectionAddr() local
400 std::tie(StubAddr, ErrorMsg) = Checker.getSectionAddr( in evalSectionAddr()
403 if (ErrorMsg != "") in evalSectionAddr()
404 return std::make_pair(EvalResult(ErrorMsg), ""); in evalSectionAddr()
763 std::string ErrorMsg = "File '"; in findSectionAddrInfo() local
764 ErrorMsg += FileName; in findSectionAddrInfo()
765 ErrorMsg += "' not found. "; in findSectionAddrInfo()
767 ErrorMsg += "No stubs registered."; in findSectionAddrInfo()
769 ErrorMsg += "Available files are:"; in findSectionAddrInfo()
771 ErrorMsg += " '"; in findSectionAddrInfo()
772 ErrorMsg += StubEntry.first; in findSectionAddrInfo()
773 ErrorMsg += "'"; in findSectionAddrInfo()
776 ErrorMsg += "\n"; in findSectionAddrInfo()
777 return std::make_pair(nullptr, ErrorMsg); in findSectionAddrInfo()
794 std::string ErrorMsg; in getSectionAddr() local
795 std::tie(SectionInfo, ErrorMsg) = in getSectionAddr()
797 if (ErrorMsg != "") in getSectionAddr()
798 return std::make_pair(0, ErrorMsg); in getSectionAddr()
818 std::string ErrorMsg; in getStubAddrFor() local
819 std::tie(SectionInfo, ErrorMsg) = in getStubAddrFor()
821 if (ErrorMsg != "") in getStubAddrFor()
822 return std::make_pair(0, ErrorMsg); in getStubAddrFor()