[llvm] r258561 - [gold] Remove inconsistent llvm_unreachable().

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 22 13:36:49 PST 2016


Author: davide
Date: Fri Jan 22 15:36:49 2016
New Revision: 258561

URL: http://llvm.org/viewvc/llvm-project?rev=258561&view=rev
Log:
[gold] Remove inconsistent llvm_unreachable().

Differential Revision:	 http://reviews.llvm.org/D16429

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=258561&r1=258560&r2=258561&view=diff
==============================================================================
--- llvm/trunk/tools/gold/gold-plugin.cpp (original)
+++ llvm/trunk/tools/gold/gold-plugin.cpp Fri Jan 22 15:36:49 2016
@@ -344,7 +344,6 @@ static void diagnosticHandler(const Diag
   case DS_Error:
     message(LDPL_FATAL, "LLVM gold plugin has failed to create LTO module: %s",
             ErrStorage.c_str());
-    llvm_unreachable("Fatal doesn't return.");
   case DS_Warning:
     Level = LDPL_WARNING;
     break;




More information about the llvm-commits mailing list