Revert "Remove useless unreachable. Switch coverage already gives us this. NFC"

This reverts commit r264945.

The commit only removed an unreachable in a method with a covered switch, but
GCC is likely to warn on this, and the coding standards recommend just leaving
in the unreachable.

llvm-svn: 264983
This commit is contained in:
Pete Cooper 2016-03-31 01:23:23 +00:00
parent eadf9e4ec9
commit f4d7688e4b
1 changed files with 1 additions and 0 deletions

View File

@ -865,6 +865,7 @@ llvm::Error Util::getSymbolTableRegion(const DefinedAtom* atom,
}
break;
}
llvm_unreachable("atom->scope() unknown enum value");
}
llvm::Error Util::addSymbols(const lld::File &atomFile,