Revert [llvm-objcopy][NFCI] Fix build failure with GCC

This reverts r364263 (git commit 81eb82840524818ec0ec14285c866c09b9634df0)

This commit is related to r364254 which is causing some llvm-objcopy tests
to fail with valgrind.

Error:
Conditional jump or move depends on uninitialised value(s)

llvm-svn: 364378
This commit is contained in:
Rumeet Dhindsa 2019-06-26 02:57:34 +00:00
parent b05f09bd4e
commit 779cf14551

View File

@ -150,8 +150,6 @@ static Error executeObjcopyOnRawBinary(const CopyConfig &Config,
case FileFormat::Unspecified:
return elf::executeObjcopyOnRawBinary(Config, In, Out);
}
llvm_unreachable("unsupported output format");
}
/// The function executeObjcopyOnBinary does the dispatch based on the format