summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/ELF/InputFiles.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/InputFiles.cpp b/lld/ELF/InputFiles.cpp
index 66ecb518469..06a19f5a24d 100644
--- a/lld/ELF/InputFiles.cpp
+++ b/lld/ELF/InputFiles.cpp
@@ -58,7 +58,7 @@ template <class ELFT> void elf::ObjectFile<ELFT>::initializeDwarfLine() {
"createObjectFile failed");
ObjectInfo ObjInfo;
- DWARFContextInMemory Dwarf(*Obj.get(), &ObjInfo);
+ DWARFContextInMemory Dwarf(*Obj, &ObjInfo);
DwarfLine.reset(new DWARFDebugLine(&Dwarf.getLineSection().Relocs));
DataExtractor LineData(Dwarf.getLineSection().Data,
ELFT::TargetEndianness == support::little,
OpenPOWER on IntegriCloud