diff options
-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); |