forked from OSchip/llvm-project
parent
9f4f490c31
commit
15b611d7f8
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue