[all-commits] [llvm/llvm-project] 547e34: [libc] Make libc_errno point to internal errno for...

Siva Chandra via All-commits all-commits at lists.llvm.org
Mon Mar 13 21:22:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 547e3456660000a16fc5c2a2f819f1a2b5d35b5d
      https://github.com/llvm/llvm-project/commit/547e3456660000a16fc5c2a2f819f1a2b5d35b5d
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    M libc/src/errno/CMakeLists.txt
    M libc/src/errno/libc_errno.cpp
    M libc/src/errno/libc_errno.h
    R libc/src/errno/llvmlibc_errno.h
    M libc/test/CMakeLists.txt
    M libc/test/ErrnoSetterMatcher.h

  Log Message:
  -----------
  [libc] Make libc_errno point to internal errno for non-public builds.

The macro llvmlibc_errno has also been removed. This change completes
the switch to using a hermetic errno for unit tests.

Fixes #61037

Reviewed By: lntue

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




More information about the All-commits mailing list