[all-commits] [llvm/llvm-project] de939c: [libc] enable printf using system FILE

michaelrj-google via All-commits all-commits at lists.llvm.org
Thu Mar 23 09:57:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de939c6cd80c1e88913f1ef12be11aea501eb89b
      https://github.com/llvm/llvm-project/commit/de939c6cd80c1e88913f1ef12be11aea501eb89b
  Author: Michael Jones <michaelrj at google.com>
  Date:   2023-03-23 (Thu, 23 Mar 2023)

  Changed paths:
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/src/stdio/CMakeLists.txt
    M libc/src/stdio/fprintf.cpp
    M libc/src/stdio/printf.cpp
    M libc/src/stdio/printf_core/CMakeLists.txt
    R libc/src/stdio/printf_core/file_writer.cpp
    M libc/src/stdio/printf_core/file_writer.h
    R libc/src/stdio/printf_core/vfprintf_internal.cpp
    M libc/src/stdio/printf_core/vfprintf_internal.h
    M libc/test/src/stdio/CMakeLists.txt
    M libc/test/src/stdio/fprintf_test.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list