Home
last modified time | relevance | path

Searched refs:CacheItem (Results 1 – 2 of 2) sorted by relevance

/openbsd-src/gnu/llvm/libunwind/src/
H A DAddressSpace.hpp155 struct CacheItem { struct in libunwind::UnwindInfoSectionsCache
156 CacheItem(UnwindInfoSections &uis, uintptr_t pc) in CacheItem() argument
159 CacheItem(uintptr_t pc) in CacheItem() argument
166 RB_ENTRY(CacheItem) entry;
171 int CacheCmp(struct CacheItem *c1, struct CacheItem *c2) { in CacheCmp()
184 struct CacheItem find(key), *res; in getUnwindInfoSectionsForPC()
199 CacheItem *p_item(new CacheItem(uis, key)); in setUnwindInfoSectionsForPC()
204 CacheItem *m_prev_req_item = nullptr;
205 RB_HEAD(CacheTree, CacheItem) m_head;
206 RB_GENERATE(CacheTree, CacheItem, entry, CacheCmp);
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/MSF/
H A DMappedBlockStream.cpp110 for (auto &CacheItem : CacheMap) { in readBytes() local
114 if (CacheItem.first == Offset) in readBytes()
118 if (CacheItem.first >= Offset + Size) in readBytes()
123 if (CacheItem.second.empty()) in readBytes()
126 auto CachedAlloc = CacheItem.second.back(); in readBytes()
130 std::make_pair(CacheItem.first, CacheItem.first + CachedAlloc.size()); in readBytes()