[lld] r278115 - [ELF] - Removed dead code. NFC.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 9 11:20:33 PDT 2016


Thanks!

On Tue, Aug 9, 2016 at 3:57 AM, George Rimar via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> Author: grimar
> Date: Tue Aug  9 05:57:42 2016
> New Revision: 278115
>
> URL: http://llvm.org/viewvc/llvm-project?rev=278115&view=rev
> Log:
> [ELF] - Removed dead code. NFC.
>
> Modified:
>     lld/trunk/ELF/OutputSections.cpp
>     lld/trunk/ELF/OutputSections.h
>
> Modified: lld/trunk/ELF/OutputSections.cpp
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/
> OutputSections.cpp?rev=278115&r1=278114&r2=278115&view=diff
> ============================================================
> ==================
> --- lld/trunk/ELF/OutputSections.cpp (original)
> +++ lld/trunk/ELF/OutputSections.cpp Tue Aug  9 05:57:42 2016
> @@ -1768,13 +1768,6 @@ OutputSectionFactory<ELFT>::create(Input
>  }
>
>  template <class ELFT>
> -OutputSectionBase<ELFT> *OutputSectionFactory<ELFT>::lookup(StringRef
> Name,
> -                                                            uint32_t Type,
> -                                                            uintX_t
> Flags) {
> -  return Map.lookup({Name, Type, Flags, 0});
> -}
> -
> -template <class ELFT>
>  SectionKey<ELFT::Is64Bits>
>  OutputSectionFactory<ELFT>::createKey(InputSectionBase<ELFT> *C,
>                                        StringRef OutsecName) {
>
> Modified: lld/trunk/ELF/OutputSections.h
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/
> OutputSections.h?rev=278115&r1=278114&r2=278115&view=diff
> ============================================================
> ==================
> --- lld/trunk/ELF/OutputSections.h (original)
> +++ lld/trunk/ELF/OutputSections.h Tue Aug  9 05:57:42 2016
> @@ -678,8 +678,6 @@ public:
>    std::pair<OutputSectionBase<ELFT> *, bool>
> create(InputSectionBase<ELFT> *C,
>                                                      StringRef OutsecName);
>
> -  OutputSectionBase<ELFT> *lookup(StringRef Name, uint32_t Type, uintX_t
> Flags);
> -
>  private:
>    Key createKey(InputSectionBase<ELFT> *C, StringRef OutsecName);
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160809/4ac68ffc/attachment.html>


More information about the llvm-commits mailing list