[all-commits] [llvm/llvm-project] 3abf3d: [Sanitizer][Darwin] Lookup dyld image header via s...

Julian Lettner via All-commits all-commits at lists.llvm.org
Thu Jun 30 15:45:40 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3abf3df08adb532af318dd0b39c6bff17c81e9b0
      https://github.com/llvm/llvm-project/commit/3abf3df08adb532af318dd0b39c6bff17c81e9b0
  Author: Julian Lettner <julian.lettner at apple.com>
  Date:   2022-06-30 (Thu, 30 Jun 2022)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_procmaps_mac.cpp

  Log Message:
  -----------
  [Sanitizer][Darwin] Lookup dyld image header via shared cache

On macOS 13+, dyld itself has moved into the shared cache.  Looking it
up via vm_region_recurse_64() now causes spins/hangs/crashes.  We use a
different set of dyld APIs to find the image header in the shared cache.

rdar://92131949

Differential Revision: https://reviews.llvm.org/D128936




More information about the All-commits mailing list