[libc-commits] [PATCH] D144928: [libc][NFC] Refactor internal errno.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon Feb 27 15:31:56 PST 2023


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.

This is in preparation for the transition to a solution to make libc tests
hermetic with respect to their use of errno. The implementation of strdup
has been switched over to libc_errno as an example of what the code looks
like in the new way.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D144928

Files:
  libc/src/errno/CMakeLists.txt
  libc/src/errno/dummy_errno.cpp
  libc/src/errno/dummy_errno.h
  libc/src/errno/errno.cpp
  libc/src/errno/libc_errno.cpp
  libc/src/errno/libc_errno.h
  libc/src/errno/llvmlibc_errno.h
  libc/src/string/CMakeLists.txt
  libc/src/string/strdup.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144928.500944.patch
Type: text/x-patch
Size: 6961 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230227/c315bf36/attachment-0001.bin>


More information about the libc-commits mailing list