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

Lines Matching refs:EC

58 static void failIfError(std::error_code EC, Twine Context = "") {
59 if (!EC)
64 fail(EC.message());
65 fail(Context + ": " + EC.message());
703 std::error_code EC = Buf.getError();
704 if (EC && EC != errc::no_such_file_or_directory)
705 fail("error opening '" + ArchiveName + "': " + EC.message() + "!");
707 if (!EC) {
710 EC = errorToErrorCode(std::move(Err));
711 failIfError(EC,
712 "error loading '" + ArchiveName + "': " + EC.message() + "!");
717 assert(EC == errc::no_such_file_or_directory);
720 failIfError(EC, Twine("error loading '") + ArchiveName + "'");