[all-commits] [llvm/llvm-project] aa4bc2: [rtsan] Support legacy pthread_cond variables (#15...

Chris Apple via All-commits all-commits at lists.llvm.org
Sat Aug 23 11:46:54 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aa4bc2ed914bd08feb90ba691bd50482e8de51eb
      https://github.com/llvm/llvm-project/commit/aa4bc2ed914bd08feb90ba691bd50482e8de51eb
  Author: Chris Apple <cja-private at pm.me>
  Date:   2025-08-23 (Sat, 23 Aug 2025)

  Changed paths:
    M compiler-rt/lib/rtsan/rtsan_interceptors_posix.cpp
    M compiler-rt/lib/rtsan/tests/rtsan_test_interceptors_posix.cpp

  Log Message:
  -----------
  [rtsan] Support legacy pthread_cond variables (#152947)

fixes #146120 

Follows a pattern put forward in tsan:

https://github.com/llvm/llvm-project/blob/71ffa2a4d3c220c97fbffa6078a446cc17bbaada/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp#L1366-L1371


https://github.com/llvm/llvm-project/blob/71ffa2a4d3c220c97fbffa6078a446cc17bbaada/compiler-rt/lib/tsan/dd/dd_interceptors.cpp#L204-L208

To properly deal with memory corruption on older versions of
pthread_cond variables.



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