[all-commits] [llvm/llvm-project] 2f4698: [Sanitizer][Darwin] Factor out code for GCD worker...

Julian Lettner via All-commits all-commits at lists.llvm.org
Fri Jul 22 13:29:41 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f469839817ac673803eaa6a22e51c56e82c7c12
      https://github.com/llvm/llvm-project/commit/2f469839817ac673803eaa6a22e51c56e82c7c12
  Author: Julian Lettner <julian.lettner at apple.com>
  Date:   2022-07-22 (Fri, 22 Jul 2022)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_mac.h
    M compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp

  Log Message:
  -----------
  [Sanitizer][Darwin] Factor out code for GCD worker registration

This is a NFC change to factor out GCD worker thread registration via
the pthread introspection hook.

In a follow-up change we also want to register GCD workers for ASan to
make sure threads are registered before we attempt to print reports on
them.

rdar://93276353

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




More information about the All-commits mailing list