[all-commits] [llvm/llvm-project] 781cb1: [TSan] fix the module map of main executable on da...

pudge62 via All-commits all-commits at lists.llvm.org
Thu Sep 26 00:22:35 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 781cb10f33beb9a829857de41827c0e4ff83bb32
      https://github.com/llvm/llvm-project/commit/781cb10f33beb9a829857de41827c0e4ff83bb32
  Author: pudge62 <maruipu2019 at gmail.com>
  Date:   2024-09-26 (Thu, 26 Sep 2024)

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

  Log Message:
  -----------
  [TSan] fix the module map of main executable on darwin platforms (#107227)

In the executable image on Darwin platforms, there is a `__PAGEZERO`
segment with a size of 0. When calculating the module map, this segment
must be skipped to avoid errors. The previous implementation
inaccurately calculated the executable image's range, starting the
address at `0 + slide`.



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