}
static std::error_code dumpInput(StringRef File) {
- if (File != "-" && !sys::fs::exists(File))
- return obj2yaml_error::file_not_found;
-
ErrorOr<OwningBinary<Binary>> BinaryOrErr = createBinary(File);
if (std::error_code EC = BinaryOrErr.getError())
return EC;