llvm.org GIT mirror llvm / 842c271
DebugInfo: Remove some initializer lists to make MSVC happy again. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206632 91177308-0d34-0410-b5e6-96231b3b80d8 Benjamin Kramer 6 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
228228 DWARFAddressRangesVector
229229 DWARFDebugInfoEntryMinimal::getAddressRanges(const DWARFUnit *U) const {
230230 if (isNULL())
231 return DWARFAddressRangesVector{};
231 return DWARFAddressRangesVector();
232232 // Single range specified by low/high PC.
233233 uint64_t LowPC, HighPC;
234234 if (getLowAndHighPC(U, LowPC, HighPC)) {
235 return DWARFAddressRangesVector{std::make_pair(LowPC, HighPC)};
235 return DWARFAddressRangesVector(1, std::make_pair(LowPC, HighPC));
236236 }
237237 // Multiple ranges from .debug_ranges section.
238238 uint32_t RangesOffset =
242242 if (U->extractRangeList(RangesOffset, RangeList))
243243 return RangeList.getAbsoluteRanges(U->getBaseAddress());
244244 }
245 return DWARFAddressRangesVector{};
245 return DWARFAddressRangesVector();
246246 }
247247
248248 void DWARFDebugInfoEntryMinimal::collectChildrenAddressRanges(