diff --git a/tools/llvm-objcopy/llvm-objcopy.cpp b/tools/llvm-objcopy/llvm-objcopy.cpp index acee368196b..44e0220a7d3 100644 --- a/tools/llvm-objcopy/llvm-objcopy.cpp +++ b/tools/llvm-objcopy/llvm-objcopy.cpp @@ -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