From 066bf6e1b30868e5bc20e3ebdc6b80dfcab659e4 Mon Sep 17 00:00:00 2001 From: George Rimar Date: Thu, 24 Nov 2016 09:42:10 +0000 Subject: [PATCH] [ELF] - Removed unused method. NFC. llvm-svn: 287860 --- lld/ELF/SyntheticSections.h | 1 - 1 file changed, 1 deletion(-) diff --git a/lld/ELF/SyntheticSections.h b/lld/ELF/SyntheticSections.h index 45c2d02..cfdfb03 100644 --- a/lld/ELF/SyntheticSections.h +++ b/lld/ELF/SyntheticSections.h @@ -101,7 +101,6 @@ public: void addEntry(SymbolBody &Sym, uintX_t Addend, RelExpr Expr); bool addDynTlsEntry(SymbolBody &Sym); bool addTlsIndex(); - bool empty() const { return PageEntriesNum == 0 && TlsEntries.empty(); } uintX_t getPageEntryOffset(uintX_t Addr); uintX_t getBodyEntryOffset(const SymbolBody &B, uintX_t Addend) const; uintX_t getGlobalDynOffset(const SymbolBody &B) const; -- 2.7.4