diff options
| author | Rui Ueyama <ruiu@google.com> | 2016-12-07 23:26:39 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2016-12-07 23:26:39 +0000 |
| commit | 9a97acc097e1c90c65cc1e72d30bbee9c1870e1f (patch) | |
| tree | 24415f01cf96ac0817facb9a93353a43913ab11f /lld/ELF/InputFiles.cpp | |
| parent | 332e02a164ca8209e4a10f9c5dd82b4aec7955be (diff) | |
| download | bcm5719-llvm-9a97acc097e1c90c65cc1e72d30bbee9c1870e1f.tar.gz bcm5719-llvm-9a97acc097e1c90c65cc1e72d30bbee9c1870e1f.zip | |
Remove redundant call of std::unique_ptr::get.
Obj is an instance of std::unique_ptr, so *Obj.get() is the same as *Obj.
llvm-svn: 288996
Diffstat (limited to 'lld/ELF/InputFiles.cpp')
| -rw-r--r-- | lld/ELF/InputFiles.cpp | 2 |
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, |

