summaryrefslogtreecommitdiffstats
path: root/lld/ELF/InputFiles.cpp
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2018-08-17 11:19:55 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2018-08-17 11:19:55 +0000
commitbf6132c139976e3acf3247998b2604fd396cf59f (patch)
tree73cdb1737a760ec757ddda97be1264c18d84c877 /lld/ELF/InputFiles.cpp
parent5113b48798f99b569697ce39406ca7d484ffd9a1 (diff)
downloadbcm5719-llvm-bf6132c139976e3acf3247998b2604fd396cf59f.tar.gz
bcm5719-llvm-bf6132c139976e3acf3247998b2604fd396cf59f.zip
[LLD][ELF] - Remove dead code. NFC.
These lines were unused. llvm-svn: 340011
Diffstat (limited to 'lld/ELF/InputFiles.cpp')
-rw-r--r--lld/ELF/InputFiles.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lld/ELF/InputFiles.cpp b/lld/ELF/InputFiles.cpp
index 2d3b9d14009..70189af6d60 100644
--- a/lld/ELF/InputFiles.cpp
+++ b/lld/ELF/InputFiles.cpp
@@ -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),
OpenPOWER on IntegriCloud