[PATCH] D16429: [gold] Remove inconsistent llvm_unreachable()

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


This revision was automatically updated to reflect the committed changes.
Closed by commit rL258561: [gold] Remove inconsistent llvm_unreachable(). (authored by davide).

Changed prior to commit:
  http://reviews.llvm.org/D16429?vs=45596&id=45737#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D16429

Files:
  llvm/trunk/tools/gold/gold-plugin.cpp

Index: llvm/trunk/tools/gold/gold-plugin.cpp
===================================================================
--- llvm/trunk/tools/gold/gold-plugin.cpp
+++ llvm/trunk/tools/gold/gold-plugin.cpp
@@ -344,7 +344,6 @@
   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;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16429.45737.patch
Type: text/x-patch
Size: 457 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160122/3fa9b6bd/attachment.bin>


More information about the llvm-commits mailing list