diff options
| author | Wolfgang Pieb <Wolfgang.Pieb@sony.com> | 2018-05-18 20:51:16 +0000 |
|---|---|---|
| committer | Wolfgang Pieb <Wolfgang.Pieb@sony.com> | 2018-05-18 20:51:16 +0000 |
| commit | 401b5ecfeaa014b2c420c5419e5e2edfe2e56390 (patch) | |
| tree | 76108e171bb63b8f4fb9f6862d5ba0e79568fd1b | |
| parent | 4938d48f094152631f112e95fcf72e00d34fdf61 (diff) | |
| download | bcm5719-llvm-401b5ecfeaa014b2c420c5419e5e2edfe2e56390.tar.gz bcm5719-llvm-401b5ecfeaa014b2c420c5419e5e2edfe2e56390.zip | |
Addressing a couple of compiler warnings introduced with r332759.
llvm-svn: 332766
| -rw-r--r-- | llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp | 4 |
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(); |

