[all-commits] [llvm/llvm-project] af9691: [lldb] Pin the shared cache when iterating over it...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Fri Feb 11 15:26:48 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: af969141fa285157044e34fb6b27963c3278241b
      https://github.com/llvm/llvm-project/commit/af969141fa285157044e34fb6b27963c3278241b
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2022-02-11 (Fri, 11 Feb 2022)

  Changed paths:
    M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp

  Log Message:
  -----------
  [lldb] Pin the shared cache when iterating over its images

Use the dyld_shared_cache_(un)pin_mapping SPI to map the whole shared
cache in memory (if possible) to avoid repeated calls to mmap.

rdar://81189015




More information about the All-commits mailing list