summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo
diff options
context:
space:
mode:
authorWolfgang Pieb <Wolfgang.Pieb@sony.com>2018-05-18 20:51:16 +0000
committerWolfgang Pieb <Wolfgang.Pieb@sony.com>2018-05-18 20:51:16 +0000
commit401b5ecfeaa014b2c420c5419e5e2edfe2e56390 (patch)
tree76108e171bb63b8f4fb9f6862d5ba0e79568fd1b /llvm/lib/DebugInfo
parent4938d48f094152631f112e95fcf72e00d34fdf61 (diff)
downloadbcm5719-llvm-401b5ecfeaa014b2c420c5419e5e2edfe2e56390.tar.gz
bcm5719-llvm-401b5ecfeaa014b2c420c5419e5e2edfe2e56390.zip
Addressing a couple of compiler warnings introduced with r332759.
llvm-svn: 332766
Diffstat (limited to 'llvm/lib/DebugInfo')
-rw-r--r--llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp b/llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
index 9bdcfcb4cdc..963834e4135 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();
OpenPOWER on IntegriCloud