Remove dead code.

llvm-svn: 248557
This commit is contained in:
Rui Ueyama 2015-09-25 03:38:56 +00:00
parent 045c829223
commit 4c4993bba6
1 changed files with 0 additions and 9 deletions

View File

@ -184,15 +184,6 @@ template <class ELFT> void Writer<ELFT>::run() {
error(Buffer->commit());
}
template <class ELFT>
static int compareSym(const typename ELFFile<ELFT>::Elf_Sym *A,
const typename ELFFile<ELFT>::Elf_Sym *B) {
uint32_t AN = A->st_name;
uint32_t BN = B->st_name;
assert(AN != BN);
return AN - BN;
}
namespace {
template <bool Is64Bits> struct SectionKey {
typedef typename std::conditional<Is64Bits, uint64_t, uint32_t>::type uintX_t;