[all-commits] [llvm/llvm-project] 381f9a: [libc][NFC] Add dummy errno target to satisfy mixe...
Siva Chandra via All-commits
all-commits at lists.llvm.org
Fri Jul 30 10:45:17 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 381f9affabba647a44412803562b19519fc25611
https://github.com/llvm/llvm-project/commit/381f9affabba647a44412803562b19519fc25611
Author: Siva Chandra Reddy <sivachandra at google.com>
Date: 2021-07-30 (Fri, 30 Jul 2021)
Changed paths:
M libc/src/errno/CMakeLists.txt
A libc/src/errno/dummy_errno.cpp
A libc/src/errno/dummy_errno.h
M libc/test/src/errno/CMakeLists.txt
Log Message:
-----------
[libc][NFC] Add dummy errno target to satisfy mixed mode builds.
In mixed mode builds, we should not be including errno as part of
LLVM libc - errno from another library (or the system library) should be
used. But, other entrypoints which use errno list LLVM libc's errno as a
dep ta satisfy the full build mode. So, we add a dummy errno
implementation with empty files to make both mixed mode and full build
mode happy.
More information about the All-commits
mailing list