[libc-commits] [libc] bbe7eb9 - [libc][Obvious] Fix missing entrypoints after moving to generic

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Thu Sep 14 13:59:20 PDT 2023


Author: Joseph Huber
Date: 2023-09-14T15:59:08-05:00
New Revision: bbe7eb92b47186a196e6395a8dee6ad194d0162a

URL: https://github.com/llvm/llvm-project/commit/bbe7eb92b47186a196e6395a8dee6ad194d0162a
DIFF: https://github.com/llvm/llvm-project/commit/bbe7eb92b47186a196e6395a8dee6ad194d0162a.diff

LOG: [libc][Obvious] Fix missing entrypoints after moving to generic

Summary:
The previous patch moved the implementations of these to generic/ and
accidentally did not add the unlocked variants. This patch fixes that

Added: 
    

Modified: 
    libc/src/stdio/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libc/src/stdio/CMakeLists.txt b/libc/src/stdio/CMakeLists.txt
index db1129cfd7e9031..a13321d13722953 100644
--- a/libc/src/stdio/CMakeLists.txt
+++ b/libc/src/stdio/CMakeLists.txt
@@ -308,8 +308,11 @@ add_entrypoint_object(
 
 # These entrypoints have multiple potential implementations.
 add_stdio_entrypoint_object(feof)
+add_stdio_entrypoint_object(feof_unlocked)
 add_stdio_entrypoint_object(ferror)
+add_stdio_entrypoint_object(ferror_unlocked)
 add_stdio_entrypoint_object(clearerr)
+add_stdio_entrypoint_object(clearerr_unlocked)
 add_stdio_entrypoint_object(fopen)
 add_stdio_entrypoint_object(fclose)
 add_stdio_entrypoint_object(fread_unlocked)


        


More information about the libc-commits mailing list