[all-commits] [llvm/llvm-project] d06308: [libc] Handle allocation failures gracefully in FI...

Siva Chandra via All-commits all-commits at lists.llvm.org
Thu Dec 22 11:30:31 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d06308df8bb098921a9eb519185410c400c3acb6
      https://github.com/llvm/llvm-project/commit/d06308df8bb098921a9eb519185410c400c3acb6
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2022-12-22 (Thu, 22 Dec 2022)

  Changed paths:
    M libc/src/__support/File/CMakeLists.txt
    M libc/src/__support/File/file.cpp
    M libc/src/__support/File/file.h
    M libc/src/__support/File/linux_file.cpp
    M libc/src/stdio/CMakeLists.txt
    M libc/src/stdio/fopencookie.cpp
    M libc/test/src/__support/File/CMakeLists.txt
    M libc/test/src/__support/File/file_test.cpp

  Log Message:
  -----------
  [libc] Handle allocation failures gracefully in FILE related API.

Few uses of free have not yet been replaced by the custom operator
delete yet. They will be done in a follow up patch.

Reviewed By: lntue, michaelrj

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




More information about the All-commits mailing list