[libc-commits] [PATCH] D146551: [libc] Re-enable wctob with fixes
Michael Jones via Phabricator via libc-commits
libc-commits at lists.llvm.org
Wed Mar 29 11:11:42 PDT 2023
michaelrj updated this revision to Diff 509424.
michaelrj marked an inline comment as done.
michaelrj added a comment.
add ssize_t dependency to cookie_io_functions_t
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146551/new/
https://reviews.llvm.org/D146551
Files:
libc/config/linux/x86_64/entrypoints.txt
libc/include/CMakeLists.txt
libc/include/llvm-libc-types/CMakeLists.txt
libc/src/wchar/CMakeLists.txt
Index: libc/src/wchar/CMakeLists.txt
===================================================================
--- libc/src/wchar/CMakeLists.txt
+++ libc/src/wchar/CMakeLists.txt
@@ -7,5 +7,6 @@
wctob.h
DEPENDS
libc.include.stdio
+ libc.include.wchar
libc.src.__support.wctype_utils
)
Index: libc/include/llvm-libc-types/CMakeLists.txt
===================================================================
--- libc/include/llvm-libc-types/CMakeLists.txt
+++ libc/include/llvm-libc-types/CMakeLists.txt
@@ -19,7 +19,7 @@
add_header(clock_t HDR clock_t.h)
add_header(clockid_t HDR clockid_t.h)
add_header(cnd_t HDR cnd_t.h)
-add_header(cookie_io_functions_t HDR cookie_io_functions_t.h DEPENDS .off64_t)
+add_header(cookie_io_functions_t HDR cookie_io_functions_t.h DEPENDS .off64_t .ssize_t)
add_header(cpu_set_t HDR cpu_set_t.h)
add_header(double_t HDR double_t.h)
add_header(DIR HDR DIR.h)
Index: libc/include/CMakeLists.txt
===================================================================
--- libc/include/CMakeLists.txt
+++ libc/include/CMakeLists.txt
@@ -184,6 +184,7 @@
.llvm-libc-macros.file_seek_macros
.llvm-libc-macros.stdio_macros
.llvm-libc-types.size_t
+ .llvm-libc-types.ssize_t
.llvm-libc-types.FILE
.llvm-libc-types.cookie_io_functions_t
)
Index: libc/config/linux/x86_64/entrypoints.txt
===================================================================
--- libc/config/linux/x86_64/entrypoints.txt
+++ libc/config/linux/x86_64/entrypoints.txt
@@ -195,7 +195,7 @@
libc.src.unistd.write
# wchar.h entrypoints
- # libc.src.wchar.wctob
+ libc.src.wchar.wctob
)
set(TARGET_LIBM_ENTRYPOINTS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146551.509424.patch
Type: text/x-patch
Size: 1678 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230329/6aa56999/attachment.bin>
More information about the libc-commits
mailing list