[libc-commits] [PATCH] D140526: [libc] Handle allocation failures gracefully in FILE related API.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Dec 21 23:03:25 PST 2022


sivachandra created this revision.
sivachandra added reviewers: lntue, michaelrj.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added projects: libc-project, All.
sivachandra requested review of this revision.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D140526

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140526.484741.patch
Type: text/x-patch
Size: 13938 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20221222/8c444591/attachment-0001.bin>


More information about the libc-commits mailing list