[libc] enable printf using system FILE
authorMichael Jones <michaelrj@google.com>
Mon, 13 Mar 2023 23:43:05 +0000 (16:43 -0700)
committerMichael Jones <michaelrj@google.com>
Thu, 23 Mar 2023 16:56:45 +0000 (09:56 -0700)
commitde939c6cd80c1e88913f1ef12be11aea501eb89b
tree1d3facd1d7582d7247c4d58da8e3eb7acb016e95
parent7739be7c6b6d017bf6b4445c5010e59314655995
[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
libc/config/linux/x86_64/entrypoints.txt
libc/src/stdio/CMakeLists.txt
libc/src/stdio/fprintf.cpp
libc/src/stdio/printf.cpp
libc/src/stdio/printf_core/CMakeLists.txt
libc/src/stdio/printf_core/file_writer.cpp [deleted file]
libc/src/stdio/printf_core/file_writer.h
libc/src/stdio/printf_core/vfprintf_internal.cpp [deleted file]
libc/src/stdio/printf_core/vfprintf_internal.h
libc/test/src/stdio/CMakeLists.txt
libc/test/src/stdio/fprintf_test.cpp