[lld] r287860 - [ELF] - Removed unused method. NFC.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 24 01:42:10 PST 2016


Author: grimar
Date: Thu Nov 24 03:42:10 2016
New Revision: 287860

URL: http://llvm.org/viewvc/llvm-project?rev=287860&view=rev
Log:
[ELF] - Removed unused method. NFC.

Modified:
    lld/trunk/ELF/SyntheticSections.h

Modified: lld/trunk/ELF/SyntheticSections.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/SyntheticSections.h?rev=287860&r1=287859&r2=287860&view=diff
==============================================================================
--- lld/trunk/ELF/SyntheticSections.h (original)
+++ lld/trunk/ELF/SyntheticSections.h Thu Nov 24 03:42:10 2016
@@ -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;




More information about the llvm-commits mailing list