Remove unused member variable.

llvm-svn: 314087
This commit is contained in:
Rui Ueyama 2017-09-24 23:12:36 +00:00
parent 9f4f490c31
commit 15b611d7f8
2 changed files with 1 additions and 3 deletions

View File

@ -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;

View File

@ -24,7 +24,6 @@ struct LLDDWARFSection final : public llvm::DWARFSection {
};
template <class ELFT> class LLDDwarfObj final : public llvm::DWARFObject {
ObjFile<ELFT> *Obj;
LLDDWARFSection InfoSection;
LLDDWARFSection RangeSection;
LLDDWARFSection LineSection;