From f425e02a312541efe9a7bb69090f54f002f0f07a Mon Sep 17 00:00:00 2001 From: Rumeet Dhindsa Date: Wed, 26 Jun 2019 02:57:34 +0000 Subject: [PATCH] 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) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364378 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-objcopy/llvm-objcopy.cpp | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.40.0