================
@@ -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);
----------------
qiyao wrote:

Sure, `FindCacheEntry` is added in the followup commit.

https://github.com/llvm/llvm-project/pull/216318
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to