[libc][darwin] Add OSUtil for darwin arm64 target so that unit tests can be run.
authorTue Ly <lntue@google.com>
Wed, 24 May 2023 21:26:55 +0000 (17:26 -0400)
committerTue Ly <lntue@google.com>
Thu, 25 May 2023 23:25:24 +0000 (19:25 -0400)
commit0aa7ea4e223fc53b45002f0c4e70b034ea72c057
treecb63f3fd384b8c1f9bb7e50c387a1d81516906f8
parent0bda54182991dd7e3cc15c86925e0470a95280d6
[libc][darwin] Add OSUtil for darwin arm64 target so that unit tests can be run.

Currently unit tests cannot be run on macOS due to missing OSUtil.

Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D151377
libc/src/__support/OSUtil/darwin/CMakeLists.txt [new file with mode: 0644]
libc/src/__support/OSUtil/darwin/arm/CMakeLists.txt [new file with mode: 0644]
libc/src/__support/OSUtil/darwin/arm/syscall.h [new file with mode: 0644]
libc/src/__support/OSUtil/darwin/io.h [new file with mode: 0644]
libc/src/__support/OSUtil/darwin/quick_exit.h [new file with mode: 0644]
libc/src/__support/OSUtil/darwin/syscall.h [new file with mode: 0644]
libc/src/__support/OSUtil/io.h
libc/src/__support/OSUtil/quick_exit.h
libc/src/__support/OSUtil/syscall.h