summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-12-07 23:26:39 +0000
committerRui Ueyama <ruiu@google.com>2016-12-07 23:26:39 +0000
commit9a97acc097e1c90c65cc1e72d30bbee9c1870e1f (patch)
tree24415f01cf96ac0817facb9a93353a43913ab11f
parent332e02a164ca8209e4a10f9c5dd82b4aec7955be (diff)
downloadbcm5719-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
-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