[libc-commits] [libc] 38f1dd2 - [libc] Remove `strerror_r` on the GPU for now
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Thu Jul 18 04:54:11 PDT 2024
Author: Joseph Huber
Date: 2024-07-18T06:54:03-05:00
New Revision: 38f1dd2e45b854c1d682dd1d4481ef471e61fa10
URL: https://github.com/llvm/llvm-project/commit/38f1dd2e45b854c1d682dd1d4481ef471e61fa10
DIFF: https://github.com/llvm/llvm-project/commit/38f1dd2e45b854c1d682dd1d4481ef471e61fa10.diff
LOG: [libc] Remove `strerror_r` on the GPU for now
Summary:
This function has conflicting definitions, which makes it difficult to
use in an offloading setting. Disable it for now.
Added:
Modified:
libc/config/gpu/entrypoints.txt
libc/docs/gpu/support.rst
Removed:
################################################################################
diff --git a/libc/config/gpu/entrypoints.txt b/libc/config/gpu/entrypoints.txt
index 3c6a92d279e50..b8eb743cf587a 100644
--- a/libc/config/gpu/entrypoints.txt
+++ b/libc/config/gpu/entrypoints.txt
@@ -48,7 +48,6 @@ set(TARGET_LIBC_ENTRYPOINTS
libc.src.string.strcspn
libc.src.string.strdup
libc.src.string.strerror
- libc.src.string.strerror_r
libc.src.string.strlcat
libc.src.string.strlcpy
libc.src.string.strlen
diff --git a/libc/docs/gpu/support.rst b/libc/docs/gpu/support.rst
index 0d026e8c04215..71dd1b30c5e3a 100644
--- a/libc/docs/gpu/support.rst
+++ b/libc/docs/gpu/support.rst
@@ -70,6 +70,7 @@ strcoll |check|
strcpy |check|
strcspn |check|
strdup |check|
+strerror |check|
strlcat |check|
strlcpy |check|
strlen |check|
More information about the libc-commits
mailing list