[libc-commits] [PATCH] D140078: [libc] Handle allocation failures in the dirent API gracefully.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Dec 15 11:47:39 PST 2022


sivachandra updated this revision to Diff 483277.
sivachandra added a comment.

Add a comment explaining why operator delete is not implemented inline and why
we assign them special linkage names.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140078/new/

https://reviews.llvm.org/D140078

Files:
  libc/src/__support/CPP/CMakeLists.txt
  libc/src/__support/CPP/new.cpp
  libc/src/__support/CPP/new.h
  libc/src/__support/File/CMakeLists.txt
  libc/src/__support/File/dir.cpp
  libc/src/__support/File/dir.h
  libc/src/__support/File/linux_dir.cpp
  libc/src/dirent/CMakeLists.txt
  libc/src/dirent/closedir.cpp
  libc/src/dirent/opendir.cpp
  libc/src/dirent/readdir.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140078.483277.patch
Type: text/x-patch
Size: 12172 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20221215/c81fa793/attachment.bin>


More information about the libc-commits mailing list