[all-commits] [llvm/llvm-project] ba7e1c: [libc] add fprintf and file_writer
michaelrj-google via All-commits
all-commits at lists.llvm.org
Tue May 31 13:59:30 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ba7e1cddda621adb90175e060a3e2ad8bdef35f8
https://github.com/llvm/llvm-project/commit/ba7e1cddda621adb90175e060a3e2ad8bdef35f8
Author: Michael Jones <michaelrj at google.com>
Date: 2022-05-31 (Tue, 31 May 2022)
Changed paths:
M libc/config/linux/x86_64/entrypoints.txt
M libc/src/stdio/CMakeLists.txt
A libc/src/stdio/fprintf.cpp
A libc/src/stdio/fprintf.h
M libc/src/stdio/printf_core/CMakeLists.txt
A libc/src/stdio/printf_core/file_writer.h
M libc/test/src/stdio/CMakeLists.txt
A libc/test/src/stdio/fprintf_test.cpp
Log Message:
-----------
[libc] add fprintf and file_writer
This patch adds the file_writer header, which just provides a wrapper
for File->write, as well as fprintf to use it. There are no unit tests
for file_writer since it's too simple to need them, but fprintf does
have a simple test of writing to a file.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D125939
More information about the All-commits
mailing list