[lld] r249524 - [ELF2] Fix gcc build error
Denis Protivensky via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 7 01:21:34 PDT 2015
Author: denis-protivensky
Date: Wed Oct 7 03:21:34 2015
New Revision: 249524
URL: http://llvm.org/viewvc/llvm-project?rev=249524&view=rev
Log:
[ELF2] Fix gcc build error
Modified:
lld/trunk/ELF/OutputSections.cpp
Modified: lld/trunk/ELF/OutputSections.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/OutputSections.cpp?rev=249524&r1=249523&r2=249524&view=diff
==============================================================================
--- lld/trunk/ELF/OutputSections.cpp (original)
+++ lld/trunk/ELF/OutputSections.cpp Wed Oct 7 03:21:34 2015
@@ -393,6 +393,7 @@ lld::elf2::getSymVA(const SymbolBody &S,
assert(S.isUsedInRegularObj() && "Lazy symbol reached writer");
return 0;
}
+ llvm_unreachable("Invalid symbol kind");
}
template <class ELFT>
More information about the llvm-commits
mailing list