[llvm] r332762 - Fixing build error introduced with r332759.
Wolfgang Pieb via llvm-commits
llvm-commits at lists.llvm.org
Fri May 18 13:35:13 PDT 2018
Author: wolfgangp
Date: Fri May 18 13:35:13 2018
New Revision: 332762
URL: http://llvm.org/viewvc/llvm-project?rev=332762&view=rev
Log:
Fixing build error introduced with r332759.
Modified:
llvm/trunk/lib/DebugInfo/DWARF/DWARFUnit.cpp
Modified: llvm/trunk/lib/DebugInfo/DWARF/DWARFUnit.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/DWARF/DWARFUnit.cpp?rev=332762&r1=332761&r2=332762&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARF/DWARFUnit.cpp (original)
+++ llvm/trunk/lib/DebugInfo/DWARF/DWARFUnit.cpp Fri May 18 13:35:13 2018
@@ -170,7 +170,7 @@ parseRngListTableHeader(DWARFDataExtract
}
llvm::DWARFDebugRnglistTable Table;
if (Error E = Table.extractHeaderAndOffsets(DA, &Offset))
- return E;
+ return std::move(E);
return Table;
}
More information about the llvm-commits
mailing list