[LLD][ELF] - Remove dead code. NFC.
authorGeorge Rimar <grimar@accesssoftek.com>
Fri, 17 Aug 2018 11:19:55 +0000 (11:19 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Fri, 17 Aug 2018 11:19:55 +0000 (11:19 +0000)
These lines were unused.

llvm-svn: 340011

lld/ELF/InputFiles.cpp

index 2d3b9d1..70189af 100644 (file)
@@ -125,10 +125,6 @@ std::string InputFile::getSrcMsg(const Symbol &Sym, InputSectionBase &Sec,
 
 template <class ELFT> void ObjFile<ELFT>::initializeDwarf() {
   Dwarf = llvm::make_unique<DWARFContext>(make_unique<LLDDwarfObj<ELFT>>(this));
-  const DWARFObject &Obj = Dwarf->getDWARFObj();
-  DWARFDataExtractor LineData(Obj, Obj.getLineSection(), Config->IsLE,
-                              Config->Wordsize);
-
   for (std::unique_ptr<DWARFUnit> &CU : Dwarf->compile_units()) {
     auto Report = [](Error Err) {
       handleAllErrors(std::move(Err),