[lld] r248557 - Remove dead code.
Rafael EspĂndola via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 25 06:15:14 PDT 2015
Thanks!
On 24 September 2015 at 23:38, Rui Ueyama via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> Author: ruiu
> Date: Thu Sep 24 22:38:56 2015
> New Revision: 248557
>
> URL: http://llvm.org/viewvc/llvm-project?rev=248557&view=rev
> Log:
> Remove dead code.
>
> Modified:
> lld/trunk/ELF/Writer.cpp
>
> Modified: lld/trunk/ELF/Writer.cpp
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Writer.cpp?rev=248557&r1=248556&r2=248557&view=diff
> ==============================================================================
> --- lld/trunk/ELF/Writer.cpp (original)
> +++ lld/trunk/ELF/Writer.cpp Thu Sep 24 22:38:56 2015
> @@ -184,15 +184,6 @@ template <class ELFT> void Writer<ELFT>:
> 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;
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list