[all-commits] [llvm/llvm-project] 110ee1: [libc][NFC] Refactor internal errno.

Siva Chandra via All-commits all-commits at lists.llvm.org
Tue Feb 28 12:40:58 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 110ee16467734c0e782c93cfb44c68321b012908
      https://github.com/llvm/llvm-project/commit/110ee16467734c0e782c93cfb44c68321b012908
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2023-02-28 (Tue, 28 Feb 2023)

  Changed paths:
    M libc/src/errno/CMakeLists.txt
    R libc/src/errno/dummy_errno.cpp
    R libc/src/errno/dummy_errno.h
    R libc/src/errno/errno.cpp
    A libc/src/errno/libc_errno.cpp
    A libc/src/errno/libc_errno.h
    M libc/src/errno/llvmlibc_errno.h
    M libc/src/string/CMakeLists.txt
    M libc/src/string/strdup.cpp

  Log Message:
  -----------
  [libc][NFC] Refactor internal errno.

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.

See #61037 for more information.

Reviewed By: lntue

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




More information about the All-commits mailing list