[all-commits] [llvm/llvm-project] 21e165: [libc] Remove the requirement of a platform-flush ...

Siva Chandra via All-commits all-commits at lists.llvm.org
Mon Jun 19 11:38:48 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 21e1651c0ceb40eef4f1c3226c2e19a4ebe356c5
      https://github.com/llvm/llvm-project/commit/21e1651c0ceb40eef4f1c3226c2e19a4ebe356c5
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2023-06-19 (Mon, 19 Jun 2023)

  Changed paths:
    M libc/src/__support/File/file.cpp
    M libc/src/__support/File/file.h
    M libc/src/__support/File/gpu/file.cpp
    M libc/src/__support/File/linux/file.cpp
    M libc/src/stdio/fopencookie.cpp
    M libc/test/src/__support/File/file_test.cpp
    M libc/test/src/stdio/ftell_test.cpp

  Log Message:
  -----------
  [libc] Remove the requirement of a platform-flush operation in File abstraction.

The libc flush operation is not supposed to trigger a platform level
flush operation. See "Notes" on this Linux man page:
    https://man7.org/linux/man-pages/man3/fflush.3.html

Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D153182




More information about the All-commits mailing list