[llvm] r219459 - Fix gcc warning in gold-plugin.cpp.
Rafael Espindola
rafael.espindola at gmail.com
Thu Oct 9 17:48:13 PDT 2014
Author: rafael
Date: Thu Oct 9 19:48:13 2014
New Revision: 219459
URL: http://llvm.org/viewvc/llvm-project?rev=219459&view=rev
Log:
Fix gcc warning in gold-plugin.cpp.
Patch by Markus Trippelsdorf!
Modified:
llvm/trunk/tools/gold/gold-plugin.cpp
Modified: llvm/trunk/tools/gold/gold-plugin.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/gold/gold-plugin.cpp?rev=219459&r1=219458&r2=219459&view=diff
==============================================================================
--- llvm/trunk/tools/gold/gold-plugin.cpp (original)
+++ llvm/trunk/tools/gold/gold-plugin.cpp Thu Oct 9 19:48:13 2014
@@ -485,6 +485,7 @@ static const char *getResolutionName(ld_
case LDPR_PREVAILING_DEF_IRONLY_EXP:
return "PREVAILING_DEF_IRONLY_EXP";
}
+ llvm_unreachable("Unknown resolution");
}
static GlobalObject *makeInternalReplacement(GlobalObject *GO) {
More information about the llvm-commits
mailing list