Lines Matching refs:exitWithError
440 static void exitWithError(Twine Message, std::string Whence = "", in exitWithError() function
451 static void exitWithError(Error E, StringRef Whence = "") { in exitWithError() function
460 exitWithError(IPE.message(), std::string(Whence), std::string(Hint)); in exitWithError()
465 exitWithError(toString(std::move(E)), std::string(Whence)); in exitWithError()
469 exitWithError(EC.message(), std::string(Whence)); in exitWithErrorCode()
538 exitWithError("unexpected line in remapping file", in create()
629 exitWithError(ReaderOrErr.takeError(), Input.Filename); in loadInput()
758 exitWithError(std::move(E)); in mergeWriterContexts()
800 exitWithError(Error); in filterFunctions()
802 exitWithError(Error); in filterFunctions()
840 exitWithError("cannot write a non-text format profile to the terminal"); in writeInstrProfile()
853 exitWithError("Compact Binary is deprecated"); in mergeInstrProfile()
856 exitWithError("unknown format is specified"); in mergeInstrProfile()
861 exitWithError("Expected only one of -debug-info, -binary-file"); in mergeInstrProfile()
876 exitWithError(std::move(Err), CorrelateFilename); in mergeInstrProfile()
878 exitWithError(std::move(Err), CorrelateFilename); in mergeInstrProfile()
942 exitWithError("no profile can be merged"); in mergeInstrProfile()
1307 exitWithError("cannot write indexed profdata format to stdout"); in supplementInstrProfile()
1309 exitWithError("expect one input to be an instr profile"); in supplementInstrProfile()
1311 exitWithError("expect instr profile doesn't have weight"); in supplementInstrProfile()
1333 exitWithError(std::move(WC->Errors[0].first), InstrFilename); in supplementInstrProfile()
1473 exitWithError( in mergeSampleProfile()
1477 exitWithError("cannot merge CS profile with non-CS profile"); in mergeSampleProfile()
1553 exitWithError("input weight must be a positive integer"); in parseWeightedFile()
1626 exitWithError("no input files specified. See " + in merge_main()
1641 exitWithError( in merge_main()
1671 exitWithError(std::move(E), "error in getting profile count sums"); in overlapInstrProfile()
2571 exitWithError( in loadProfiles()
2574 exitWithError("cannot compare CS profile with non-CS profile"); in loadProfiles()
2691 exitWithError("JSON output is not supported for instr profiles"); in showInstrProfile()
2693 exitWithError("YAML output is not supported for instr profiles"); in showInstrProfile()
2702 exitWithError(std::move(E), Filename); in showInstrProfile()
2849 exitWithError(Reader->getError(), Filename); in showInstrProfile()
2902 exitWithError(std::move(E), Filename); in showInstrProfile()
3068 exitWithError("YAML output is not supported for sample profiles"); in showSampleProfile()
3093 exitWithError( in showSampleProfile()
3123 exitWithError("JSON output is not supported for MemProf"); in showMemProfProfile()
3130 exitWithError(std::move(E), /*Whence*/ ""); in showMemProfProfile()
3142 exitWithError("JSON output is not supported for debug info correlation"); in showDebugInfoCorrelation()
3147 exitWithError(std::move(Err), Filename); in showDebugInfoCorrelation()
3150 exitWithError(std::move(Err), Filename); in showDebugInfoCorrelation()
3155 exitWithError(std::move(Err), Filename); in showDebugInfoCorrelation()
3160 exitWithError(std::move(Err), Filename); in showDebugInfoCorrelation()
3176 exitWithError( in show_main()
3214 exitWithError(std::move(E), Filename); in order_main()