// the CU itself.
SmallVector<RangeSpanList, 1> CURangeLists;
+ // List of ranges for a given compile unit.
+ SmallVector<RangeSpan, 1> CURanges;
+
/// \brief Construct a DIE for the given DbgVariable without initializing the
/// DbgVariable's DIE reference.
std::unique_ptr<DIE> constructVariableDIEImpl(const DbgVariable &DV,
return CURangeLists;
}
SmallVectorImpl<RangeSpanList> &getRangeLists() { return CURangeLists; }
+
+ /// getRanges - Get the list of ranges for this unit.
+ const SmallVectorImpl<RangeSpan> &getRanges() const { return CURanges; }
};
} // end llvm namespace