[lld] r194172 - [mach-o] add llvm_unreachable
Nick Kledzik
kledzik at apple.com
Wed Nov 6 14:18:09 PST 2013
Author: kledzik
Date: Wed Nov 6 16:18:09 2013
New Revision: 194172
URL: http://llvm.org/viewvc/llvm-project?rev=194172&view=rev
Log:
[mach-o] add llvm_unreachable
Modified:
lld/trunk/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
Modified: lld/trunk/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp?rev=194172&r1=194171&r2=194172&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp (original)
+++ lld/trunk/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp Wed Nov 6 16:18:09 2013
@@ -496,6 +496,7 @@ uint8_t Util::scopeBits(const DefinedAto
case Atom::scopeGlobal:
return N_EXT;
}
+ llvm_unreachable("Unknown scope");
}
bool Util::AtomSorter::operator()(const AtomAndIndex &left,
More information about the llvm-commits
mailing list