[all-commits] [llvm/llvm-project] f7cee4: [libc] Add `strerror` and `strerror_k` to the GPU ...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Jul 16 14:17:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f7cee44ef2a2bf62f3c939d5686c45c71f3b14bc
      https://github.com/llvm/llvm-project/commit/f7cee44ef2a2bf62f3c939d5686c45c71f3b14bc
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-07-16 (Tue, 16 Jul 2024)

  Changed paths:
    M libc/config/gpu/entrypoints.txt
    M libc/include/llvm-libc-macros/generic-error-number-macros.h
    M libc/src/__support/StringUtil/tables/stdc_errors.h
    M libc/test/src/string/strerror_test.cpp

  Log Message:
  -----------
  [libc] Add `strerror` and `strerror_k` to the GPU (#99083)

Summary:
The GPU ignores `errno` primarily, but targets want these functions to
be defined for certain C standard interfaces. This patch enables them
and makes the test function on non-Linux targets.



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