[lld] r234204 - Remove return after report_fatal_error which has noreturn attribute.

Rui Ueyama ruiu at google.com
Mon Apr 6 13:25:19 PDT 2015


Author: ruiu
Date: Mon Apr  6 15:25:18 2015
New Revision: 234204

URL: http://llvm.org/viewvc/llvm-project?rev=234204&view=rev
Log:
Remove return after report_fatal_error which has noreturn attribute.

Modified:
    lld/trunk/lib/Core/Resolver.cpp

Modified: lld/trunk/lib/Core/Resolver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Core/Resolver.cpp?rev=234204&r1=234203&r2=234204&view=diff
==============================================================================
--- lld/trunk/lib/Core/Resolver.cpp (original)
+++ lld/trunk/lib/Core/Resolver.cpp Mon Apr  6 15:25:18 2015
@@ -153,7 +153,6 @@ void Resolver::maybeAddSectionGroupOrGnu
     llvm::errs() << "SymbolTable: error while merging " << atom.name()
                  << "\n";
     llvm::report_fatal_error("duplicate symbol error");
-    return;
   }
 
   for (const Reference *r : atom) {





More information about the llvm-commits mailing list