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.
LLVM libc ========= This directory and its subdirectories contain source code for llvm-libc, a retargetable implementation of the C standard library. LLVM is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt.