projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25bc279
)
[llvm-objcopy][NFCI] Fix build failure with GCC
author
Seiya Nuta
<nuta@seiya.me>
Tue, 25 Jun 2019 01:08:21 +0000
(
01:08
+0000)
committer
Seiya Nuta
<nuta@seiya.me>
Tue, 25 Jun 2019 01:08:21 +0000
(
01:08
+0000)
Here is unreachable since the switch statement above is exhaustive.
llvm-svn: 364263
llvm/tools/llvm-objcopy/llvm-objcopy.cpp
patch
|
blob
|
history
diff --git
a/llvm/tools/llvm-objcopy/llvm-objcopy.cpp
b/llvm/tools/llvm-objcopy/llvm-objcopy.cpp
index 44e0220a7d37eae2d77ec3e0f60395c216c4df92..acee368196bc42eccd0c4088c25048710e6c8364 100644
(file)
--- a/
llvm/tools/llvm-objcopy/llvm-objcopy.cpp
+++ b/
llvm/tools/llvm-objcopy/llvm-objcopy.cpp
@@
-150,6
+150,8
@@
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