From 80c33aa3d7d775ec0688689171def834d2618686 Mon Sep 17 00:00:00 2001 From: Shankar Easwaran Date: Fri, 11 Oct 2013 03:41:24 +0000 Subject: [PATCH] Fix return after llvm_unreachable llvm-svn: 192414 --- lld/lib/Passes/LayoutPass.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/lld/lib/Passes/LayoutPass.cpp b/lld/lib/Passes/LayoutPass.cpp index dd8056cd7658..88c8661ce0ce 100644 --- a/lld/lib/Passes/LayoutPass.cpp +++ b/lld/lib/Passes/LayoutPass.cpp @@ -112,8 +112,6 @@ bool LayoutPass::CompareAtoms::operator()(const DefinedAtom *left, DEBUG(llvm::dbgs() << "Unordered\n"); llvm_unreachable("Atoms with Same Ordinal!"); - - return false; } // Returns the atom immediately followed by the given atom in the followon