From 2754dbb4ab2eef0d3a94914732a04350871f81f8 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Fri, 10 Oct 2014 00:48:13 +0000 Subject: [PATCH] Fix gcc warning in gold-plugin.cpp. Patch by Markus Trippelsdorf! llvm-svn: 219459 --- llvm/tools/gold/gold-plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp index d5d58d0e5885..bb0488a2fc11 100644 --- a/llvm/tools/gold/gold-plugin.cpp +++ b/llvm/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) {