1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Addressing a couple of compiler warnings introduced with r332759.

llvm-svn: 332766
This commit is contained in:
Wolfgang Pieb 2018-05-18 20:51:16 +00:00
parent 29e220d75a
commit 0be1b838a4

View File

@ -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();