[all-commits] [llvm/llvm-project] 2de54b: [tsan] Invoke malloc/free hooks on darwin

Northbadge via All-commits all-commits at lists.llvm.org
Thu Jun 1 11:12:29 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2de54b919ba5fd9ccf37038cddfc36e97eb480af
      https://github.com/llvm/llvm-project/commit/2de54b919ba5fd9ccf37038cddfc36e97eb480af
  Author: Jin Xin Ng <njx at google.com>
  Date:   2023-06-01 (Thu, 01 Jun 2023)

  Changed paths:
    M compiler-rt/lib/tsan/rtl/tsan_malloc_mac.cpp

  Log Message:
  -----------
  [tsan] Invoke malloc/free hooks on darwin

Matches behaviour from tsan_interceptors_posix. This is covered by sanitizer_common/TestCases/malloc_hook.cpp (which is currently failing on darwin)
I've tested it on an arm-based Mac & also compiled to x86_64 on it.

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




More information about the All-commits mailing list