Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Jones <michaelrj@google.com>2022-10-05 02:47:24 +0300
committerMichael Jones <michaelrj@google.com>2022-10-07 21:07:06 +0300
commita9f95b769efe4fa4d4dc4a01b5bbfc4e3571a389 (patch)
treee9cd67f4d68a4701807321f3767f2496e255c437 /libc/config/linux/x86_64/entrypoints.txt
parent6a6f10fd23b2730e2c01051541c5a83f5df9131b (diff)
[libc] add strerror_r function
I've implemente the gnu variant of strerror_r since that seems to be the one more relevant to what we're trying to do. Differential Revision: https://reviews.llvm.org/D135227
Diffstat (limited to 'libc/config/linux/x86_64/entrypoints.txt')
-rw-r--r--libc/config/linux/x86_64/entrypoints.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/config/linux/x86_64/entrypoints.txt b/libc/config/linux/x86_64/entrypoints.txt
index e30990946d43..5ed5f0cd9747 100644
--- a/libc/config/linux/x86_64/entrypoints.txt
+++ b/libc/config/linux/x86_64/entrypoints.txt
@@ -44,6 +44,8 @@ set(TARGET_LIBC_ENTRYPOINTS
libc.src.string.strcmp
libc.src.string.strcpy
libc.src.string.strcspn
+ libc.src.string.strerror
+ libc.src.string.strerror_r
libc.src.string.strlcat
libc.src.string.strlcpy
libc.src.string.strlen
@@ -61,7 +63,6 @@ set(TARGET_LIBC_ENTRYPOINTS
# string.h entrypoints that depend on malloc
libc.src.string.strdup
libc.src.string.strndup
- libc.src.string.strerror
# inttypes.h entrypoints
libc.src.inttypes.imaxabs