summaryrefslogtreecommitdiff
path: root/libc/config
diff options
context:
space:
mode:
authorMichael Jones <michaelrj@google.com>2023-03-13 16:43:05 -0700
committerMichael Jones <michaelrj@google.com>2023-03-23 09:56:45 -0700
commitde939c6cd80c1e88913f1ef12be11aea501eb89b (patch)
tree1d3facd1d7582d7247c4d58da8e3eb7acb016e95 /libc/config
parent7739be7c6b6d017bf6b4445c5010e59314655995 (diff)
downloadllvm-de939c6cd80c1e88913f1ef12be11aea501eb89b.tar.gz
[libc] enable printf using system FILE
The printf and fprintf implementations use our internal implementation to improve performance when it's available, but this patch enables using the public FILE API for overlay mode. Reviewed By: sivachandra, lntue Differential Revision: https://reviews.llvm.org/D146001
Diffstat (limited to 'libc/config')
-rw-r--r--libc/config/linux/x86_64/entrypoints.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/config/linux/x86_64/entrypoints.txt b/libc/config/linux/x86_64/entrypoints.txt
index b3017338f826..5c0b3103f561 100644
--- a/libc/config/linux/x86_64/entrypoints.txt
+++ b/libc/config/linux/x86_64/entrypoints.txt
@@ -111,6 +111,8 @@ set(TARGET_LIBC_ENTRYPOINTS
libc.src.stdio.remove
libc.src.stdio.sprintf
libc.src.stdio.snprintf
+ libc.src.stdio.fprintf
+ libc.src.stdio.printf
# sys/mman.h entrypoints
libc.src.sys.mman.madvise
@@ -412,10 +414,8 @@ if(LLVM_LIBC_FULL_BUILD)
libc.src.stdio.funlockfile
libc.src.stdio.fwrite
libc.src.stdio.fwrite_unlocked
- libc.src.stdio.fprintf
libc.src.stdio.getc
libc.src.stdio.getc_unlocked
- libc.src.stdio.printf
libc.src.stdio.sscanf
libc.src.stdio.scanf
libc.src.stdio.fscanf