[all-commits] [llvm/llvm-project] 46b76a: [libc] Use Linux errno and signal strings for Fuchsia

Roland McGrath via All-commits all-commits at lists.llvm.org
Sun May 7 17:22:41 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 46b76a54e16ac72e1c9769ce5b55774fbaaaaee2
      https://github.com/llvm/llvm-project/commit/46b76a54e16ac72e1c9769ce5b55774fbaaaaee2
  Author: Roland McGrath <mcgrathr at google.com>
  Date:   2023-05-07 (Sun, 07 May 2023)

  Changed paths:
    M libc/src/__support/StringUtil/tables/error_table.h
    M libc/src/__support/StringUtil/tables/signal_table.h

  Log Message:
  -----------
  [libc] Use Linux errno and signal strings for Fuchsia

The exact set of supported values is determined by the <errno.h>
and <signal.h> headers, which don't (yet) come from llvm-libc on
Fuchsia. The mappings of SIG* and E* codes to psignal/strsignal
and perror/strerror text used in Fuchsia libc today is the same
as for Linux.

Reviewed By: abrachet

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




More information about the All-commits mailing list