Home | History | Annotate | Download | only in llvm-profdata

Lines Matching refs:EC

66 static void exitWithErrorCode(std::error_code EC, StringRef Whence = "") {
67 exitWithError(EC.message(), Whence);
129 std::error_code EC;
130 raw_fd_ostream Output(OutputFilename.data(), EC, sys::fs::F_None);
131 if (EC)
132 exitWithErrorCode(EC, OutputFilename);
174 if (std::error_code EC = WriterOrErr.getError())
175 exitWithErrorCode(EC, OutputFilename);
183 if (std::error_code EC = ReaderOrErr.getError())
184 exitWithErrorCode(EC, Input.Filename);
192 if (std::error_code EC = Reader->read())
193 exitWithErrorCode(EC, Input.Filename);
203 std::error_code EC = make_error_code(Result);
204 handleMergeWriterError(errorCodeToError(EC), Input.Filename, FName);
449 if (std::error_code EC = ReaderOrErr.getError())
450 exitWithErrorCode(EC, Filename);
453 if (std::error_code EC = Reader->read())
454 exitWithErrorCode(EC, Filename);
502 std::error_code EC;
503 raw_fd_ostream OS(OutputFilename.data(), EC, sys::fs::F_Text);
504 if (EC)
505 exitWithErrorCode(EC, OutputFilename);