reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/DebugInfo/MSF/MappedBlockStream.cpp
   91   if (auto EC = checkOffsetForRead(Offset, Size))
   94   if (tryReadContiguously(Offset, Size, Buffer))
  101       if (Entry.size() >= Size) {
  102         Buffer = Entry.slice(0, Size);
  112     Interval RequestExtent = std::make_pair(Offset, Offset + Size);
  119     if (CacheItem.first >= Offset + Size)
  143     Buffer = CachedAlloc.slice(CacheRangeOffset, Size);
  151   uint8_t *WriteBuffer = static_cast<uint8_t *>(Allocator.Allocate(Size, 8));
  152   if (auto EC = readBytes(Offset, MutableArrayRef<uint8_t>(WriteBuffer, Size)))
  156     CacheIter->second.emplace_back(WriteBuffer, Size);
  159     List.emplace_back(WriteBuffer, Size);
  162   Buffer = ArrayRef<uint8_t>(WriteBuffer, Size);