diff options
author | George Rimar <grimar@accesssoftek.com> | 2016-08-09 10:57:42 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2016-08-09 10:57:42 +0000 |
commit | 16a5930803d80fc4eb48c1ac799d77eae838d987 (patch) | |
tree | e754455f00f62584a8354617f6dd505691d63e16 | |
parent | aae7d4a1b6726a91fcd6441f3bbd9ca49461399f (diff) | |
download | bcm5719-llvm-16a5930803d80fc4eb48c1ac799d77eae838d987.tar.gz bcm5719-llvm-16a5930803d80fc4eb48c1ac799d77eae838d987.zip |
[ELF] - Removed dead code. NFC.
llvm-svn: 278115
-rw-r--r-- | lld/ELF/OutputSections.cpp | 7 | ||||
-rw-r--r-- | lld/ELF/OutputSections.h | 2 |
2 files changed, 0 insertions, 9 deletions
diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp index 6a562113cad..7ea281c22a0 100644 --- a/lld/ELF/OutputSections.cpp +++ b/lld/ELF/OutputSections.cpp @@ -1768,13 +1768,6 @@ OutputSectionFactory<ELFT>::create(InputSectionBase<ELFT> *C, } 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) { diff --git a/lld/ELF/OutputSections.h b/lld/ELF/OutputSections.h index bf8936685e2..81fa9e5227d 100644 --- a/lld/ELF/OutputSections.h +++ b/lld/ELF/OutputSections.h @@ -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); |