[all-commits] [llvm/llvm-project] 1e36bd: [compiler-rt][darwin] check for strcmp to test int...

Emily Shi via All-commits all-commits at lists.llvm.org
Wed Jan 12 16:17:39 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e36bd8516f23e2eaf9c3c6c2005a8cf66070896
      https://github.com/llvm/llvm-project/commit/1e36bd8516f23e2eaf9c3c6c2005a8cf66070896
  Author: Emily Shi <code at emi.sh>
  Date:   2022-01-12 (Wed, 12 Jan 2022)

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

  Log Message:
  -----------
  [compiler-rt][darwin] check for strcmp to test interceptors instead of pthread_create

If `pthread_create` is not available on a platform, we won't be able to check if interceptors work. Use `strcmp` instead.

Reviewed By: yln

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




More information about the All-commits mailing list