From: Rafael Espindola Date: Fri, 10 Oct 2014 00:48:13 +0000 (+0000) Subject: Fix gcc warning in gold-plugin.cpp. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a447422da3904d2e7f5018c0295a95190ca61f5c;p=oota-llvm.git Fix gcc warning in gold-plugin.cpp. Patch by Markus Trippelsdorf! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219459 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/gold/gold-plugin.cpp b/tools/gold/gold-plugin.cpp index d5d58d0e588..bb0488a2fc1 100644 --- a/tools/gold/gold-plugin.cpp +++ b/tools/gold/gold-plugin.cpp @@ -485,6 +485,7 @@ static const char *getResolutionName(ld_plugin_symbol_resolution R) { case LDPR_PREVAILING_DEF_IRONLY_EXP: return "PREVAILING_DEF_IRONLY_EXP"; } + llvm_unreachable("Unknown resolution"); } static GlobalObject *makeInternalReplacement(GlobalObject *GO) {