[lld] r314087 - Remove unused member variable.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 24 16:12:36 PDT 2017
Author: ruiu
Date: Sun Sep 24 16:12:36 2017
New Revision: 314087
URL: http://llvm.org/viewvc/llvm-project?rev=314087&view=rev
Log:
Remove unused member variable.
Modified:
lld/trunk/ELF/GdbIndex.cpp
lld/trunk/ELF/GdbIndex.h
Modified: lld/trunk/ELF/GdbIndex.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/GdbIndex.cpp?rev=314087&r1=314086&r2=314087&view=diff
==============================================================================
--- lld/trunk/ELF/GdbIndex.cpp (original)
+++ lld/trunk/ELF/GdbIndex.cpp Sun Sep 24 16:12:36 2017
@@ -24,8 +24,7 @@ using namespace llvm::object;
using namespace lld;
using namespace lld::elf;
-template <class ELFT>
-LLDDwarfObj<ELFT>::LLDDwarfObj(ObjFile<ELFT> *Obj) : Obj(Obj) {
+template <class ELFT> LLDDwarfObj<ELFT>::LLDDwarfObj(ObjFile<ELFT> *Obj) {
for (InputSectionBase *Sec : Obj->getSections()) {
if (!Sec)
continue;
Modified: lld/trunk/ELF/GdbIndex.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/GdbIndex.h?rev=314087&r1=314086&r2=314087&view=diff
==============================================================================
--- lld/trunk/ELF/GdbIndex.h (original)
+++ lld/trunk/ELF/GdbIndex.h Sun Sep 24 16:12:36 2017
@@ -24,7 +24,6 @@ struct LLDDWARFSection final : public ll
};
template <class ELFT> class LLDDwarfObj final : public llvm::DWARFObject {
- ObjFile<ELFT> *Obj;
LLDDWARFSection InfoSection;
LLDDWARFSection RangeSection;
LLDDWARFSection LineSection;
More information about the llvm-commits
mailing list