They are oriented from winsock and mingw doesn't import them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291636
91177308-0d34-0410-b5e6-
96231b3b80d8
return joinErrors(
make_error<StringError>(
Twine("Failed loading input file '") + ConvertInput + "'.",
- std::make_error_code(std::errc::protocol_error)),
+ std::make_error_code(std::errc::executable_format_error)),
std::move(Err));
raw_fd_ostream OS(ConvertOutput, EC,
make_error<StringError>(
Twine("Cannot load YAML instrumentation map from '") +
Filename + "'.",
- std::make_error_code(std::errc::wrong_protocol_type)),
+ std::make_error_code(std::errc::executable_format_error)),
std::move(E));
});
break;
default:
return make_error<StringError>(
Twine("Unknown record type '") + Twine(int{Type}) + "'",
- std::make_error_code(std::errc::protocol_error));
+ std::make_error_code(std::errc::executable_format_error));
}
Record.FuncId = RecordExtractor.getSigned(&OffsetPtr, sizeof(int32_t));
Record.TSC = RecordExtractor.getU64(&OffsetPtr);