[all-commits] [llvm/llvm-project] 6a5fe4: [lldb] Confine host shared cache reads to mapped s...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Fri Jun 26 08:54:31 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6a5fe4bf112d2d60f7e03a233d486ff502ce1b8c
https://github.com/llvm/llvm-project/commit/6a5fe4bf112d2d60f7e03a233d486ff502ce1b8c
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2026-06-26 (Fri, 26 Jun 2026)
Changed paths:
M lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm
A lldb/test/API/macosx/shared-cache-host-memory/Makefile
A lldb/test/API/macosx/shared-cache-host-memory/TestSharedCacheHostMemory.py
A lldb/test/API/macosx/shared-cache-host-memory/main.c
Log Message:
-----------
[lldb] Confine host shared cache reads to mapped segments (#205454)
When reading shared cache libraries out of lldb's own memory (the
default, eSymbolSharedCacheUseHostAndInferiorSharedCache), the dyld
introspection path built a plain DataExtractor spanning an image's
[minVmAddr, maxVmAddr). A shared cache image's segments may not be
contiguous: other images' data and unmapped guard pages may lie between
them.
Take advantage of the VirtualDataExtractor with a per-segment lookup
table instead, matching the map_shared_cache_binary_segments path, so
reads are confined to mapped segments.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list