git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316425 91177308-0d34-0410-b5e6-96231b3b80d8
@@ -495,7 +495,7 @@ that inherits from the ErrorInfo utility, E.g.:
Error printFormattedFile(StringRef Path) {
if (<check for valid format>)
- return make_error<InvalidObjectFile>(Path);
+ return make_error<BadFileFormat>(Path);
// print file contents.
return Error::success();
}