[lld] r228907 - [ELF][Cleanup] Remove unused function
Shankar Easwaran
shankare at codeaurora.org
Wed Feb 11 21:29:51 PST 2015
Author: shankare
Date: Wed Feb 11 23:29:50 2015
New Revision: 228907
URL: http://llvm.org/viewvc/llvm-project?rev=228907&view=rev
Log:
[ELF][Cleanup] Remove unused function
We can add this function when we really have a need.
Modified:
lld/trunk/lib/ReaderWriter/ELF/DefaultLayout.h
Modified: lld/trunk/lib/ReaderWriter/ELF/DefaultLayout.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/DefaultLayout.h?rev=228907&r1=228906&r2=228907&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/DefaultLayout.h (original)
+++ lld/trunk/lib/ReaderWriter/ELF/DefaultLayout.h Wed Feb 11 23:29:50 2015
@@ -258,10 +258,6 @@ public:
inline ELFHeader<ELFT> *getHeader() { return _elfHeader; }
- inline ProgramHeader<ELFT> *getProgramHeader() {
- return _programHeader;
- }
-
bool hasDynamicRelocationTable() const { return !!_dynamicRelocationTable; }
bool hasPLTRelocationTable() const { return !!_pltRelocationTable; }
More information about the llvm-commits
mailing list