[all-commits] [llvm/llvm-project] 963b8e: [rtsan] Add sched_yield interceptor (#117084)

Chris Apple via All-commits all-commits at lists.llvm.org
Thu Nov 21 06:31:06 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 963b8e36bb3443ab858b83b65ec9c9723b263bd0
      https://github.com/llvm/llvm-project/commit/963b8e36bb3443ab858b83b65ec9c9723b263bd0
  Author: Chris Apple <cja-private at pm.me>
  Date:   2024-11-21 (Thu, 21 Nov 2024)

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

  Log Message:
  -----------
  [rtsan] Add sched_yield interceptor (#117084)

This calls the system calls switch_pri and sys_ulock_wait. It also is
one of the more straightforwardly rt-unsafe, in that it gives up this
thread's timeslice.



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