[Lldb-commits] [lldb] [lldb] Serve MemoryCache::ReadRanges from the L2 cache as well as L1 (PR #216318)
Felipe de Azevedo Piovezan via lldb-commits
lldb-commits at lists.llvm.org
Mon Aug 17 01:41:03 PDT 2026
================
@@ -290,10 +304,13 @@ MemoryCache::ReadRanges(llvm::ArrayRef<Range<lldb::addr_t, size_t>> ranges,
continue;
}
- if (const uint8_t *l1_data = FindL1CacheEntry(addr, len)) {
+ const uint8_t *cached = FindL1CacheEntry(addr, len);
+ if (!cached)
+ cached = FindL2CacheEntry(addr, len);
----------------
felipepiovezan wrote:
Could you add a new method "FindCacheEntry" that does this?
https://github.com/llvm/llvm-project/pull/216318
More information about the lldb-commits
mailing list