[llvm] r327063 - Fix compilation failure with MSVC.
Zachary Turner via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 8 13:07:30 PST 2018
Author: zturner
Date: Thu Mar 8 13:07:30 2018
New Revision: 327063
URL: http://llvm.org/viewvc/llvm-project?rev=327063&view=rev
Log:
Fix compilation failure with MSVC.
Modified:
llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugRnglists.cpp
Modified: llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugRnglists.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugRnglists.cpp?rev=327063&r1=327062&r2=327063&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugRnglists.cpp (original)
+++ llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugRnglists.cpp Thu Mar 8 13:07:30 2018
@@ -97,7 +97,7 @@ Error DWARFDebugRnglists::extract(DWARFD
(uint8_t)dwarf::RangeListEncodingString(Encoding).size());
switch (Encoding) {
case dwarf::DW_RLE_end_of_list:
- CurrentRanges.push_back(RangeListEntry{EntryOffset, Encoding});
+ CurrentRanges.push_back(RangeListEntry{ EntryOffset, Encoding, 0, 0 });
Ranges.insert(Ranges.end(), CurrentRanges);
CurrentRanges.clear();
break;
More information about the llvm-commits
mailing list