[lld] r340011 - [LLD][ELF] - Remove dead code. NFC.
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 17 04:19:55 PDT 2018
Author: grimar
Date: Fri Aug 17 04:19:55 2018
New Revision: 340011
URL: http://llvm.org/viewvc/llvm-project?rev=340011&view=rev
Log:
[LLD][ELF] - Remove dead code. NFC.
These lines were unused.
Modified:
lld/trunk/ELF/InputFiles.cpp
Modified: lld/trunk/ELF/InputFiles.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/InputFiles.cpp?rev=340011&r1=340010&r2=340011&view=diff
==============================================================================
--- lld/trunk/ELF/InputFiles.cpp (original)
+++ lld/trunk/ELF/InputFiles.cpp Fri Aug 17 04:19:55 2018
@@ -125,10 +125,6 @@ std::string InputFile::getSrcMsg(const S
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),
More information about the llvm-commits
mailing list