[all-commits] [llvm/llvm-project] 8bcf79: Fix have pthread_getname for some system (#110854)

William Moses via All-commits all-commits at lists.llvm.org
Thu Oct 3 06:14:15 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8bcf79914b9395048d2ef11b6dc5f95fddb9747a
      https://github.com/llvm/llvm-project/commit/8bcf79914b9395048d2ef11b6dc5f95fddb9747a
  Author: William Moses <gh at wsmoses.com>
  Date:   2024-10-03 (Thu, 03 Oct 2024)

  Changed paths:
    M llvm/lib/Support/Unix/Threading.inc

  Log Message:
  -----------
  Fix have pthread_getname for some system (#110854)

I'm on a system that has have_pthread_getname_np defined but set to 0.
The correct behavior here is not to use the function, but presently the
macros will attempt to use a non-existing function.

This previously worked before
https://github.com/llvm/llvm-project/pull/106486/files



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