summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-08-09 04:50:26 +0000
committerRui Ueyama <ruiu@google.com>2016-08-09 04:50:26 +0000
commitedc521f192275d9211524eec23f13dab9616a102 (patch)
treea2888f60f62f12c77315637c45c13d29c8858421
parent1034c9e342fcefa6ccc529c330969f1cdb49fbbb (diff)
downloadbcm5719-llvm-edc521f192275d9211524eec23f13dab9616a102.tar.gz
bcm5719-llvm-edc521f192275d9211524eec23f13dab9616a102.zip
Remove unreachable `return`. NFC.
llvm-svn: 278096
-rw-r--r--lld/ELF/LinkerScript.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp
index 57172ffdcfe..8c73e530ba7 100644
--- a/lld/ELF/LinkerScript.cpp
+++ b/lld/ELF/LinkerScript.cpp
@@ -913,7 +913,6 @@ static uint64_t getSectionSize(StringRef Name) {
default:
llvm_unreachable("unsupported target");
}
- return 0;
}
SymbolAssignment *ScriptParser::readAssignment(StringRef Name) {
OpenPOWER on IntegriCloud