[all-commits] [llvm/llvm-project] 22339e: [Support] Use thread safe version of getpwuid and ...

yabinc via All-commits all-commits at lists.llvm.org
Mon Nov 14 09:49:34 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22339e52da4e88af499e232e452f4d8bb358fa05
      https://github.com/llvm/llvm-project/commit/22339e52da4e88af499e232e452f4d8bb358fa05
  Author: Yabin Cui <yabinc at google.com>
  Date:   2022-11-14 (Mon, 14 Nov 2022)

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

  Log Message:
  -----------
  [Support] Use thread safe version of getpwuid and getpwnam.

OpenGroup specification doesn't require getpwuid and getpwnam
to be thread-safe. And musl libc has a not thread-safe implementation.
When building clang with musl, this can make clang-scan-deps crash.

Reviewed By: pirama

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




More information about the All-commits mailing list