From 401b5ecfeaa014b2c420c5419e5e2edfe2e56390 Mon Sep 17 00:00:00 2001 From: Wolfgang Pieb Date: Fri, 18 May 2018 20:51:16 +0000 Subject: [PATCH] Addressing a couple of compiler warnings introduced with r332759. llvm-svn: 332766 --- llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp b/llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp index 9bdcfcb4cdcb..963834e4135a 100644 --- a/llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp +++ b/llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp @@ -322,7 +322,7 @@ size_t DWARFUnit::extractDIEsIfNeeded(bool CUDieOnly) { RngListTable = TableOrError.get(); else WithColor::error() << "parsing a range list table: " - << toString(std::move(TableOrError.takeError())) + << toString(TableOrError.takeError()) << '\n'; // In a split dwarf unit, there is no DW_AT_rnglists_base attribute. @@ -377,7 +377,7 @@ bool DWARFUnit::parseDWO() { DWO->RngListTable = TableOrError.get(); else WithColor::error() << "parsing a range list table: " - << toString(std::move(TableOrError.takeError())) + << toString(TableOrError.takeError()) << '\n'; if (DWO->RngListTable) DWO->RangeSectionBase = DWO->RngListTable->getHeaderSize(); -- GitLab