[libc] Take 2: Add linux implementations of thrd_create and thrd_join functions.
[lldb.git] / libc / lib / CMakeLists.txt
1
2 add_entrypoint_library(
3   llvmlibc
4   DEPENDS
5     # errno.h entrypoints
6     __errno_location
7
8     # string.h entrypoints
9     strcpy
10     strcat
11
12     # sys/mman.h entrypoints
13     mmap
14     munmap
15
16     # signal.h entrypoints
17     raise
18     sigaddset
19     sigemptyset
20     sigprocmask
21
22     # stdlib.h entrypoints
23     _Exit
24     abort
25
26     # threads.h entrypoints
27     thrd_create
28     thrd_join
29 )
30
31 add_entrypoint_library(
32   llvmlibm
33   DEPENDS
34     # math.h entrypoints
35     round
36 )
37
38 add_redirector_library(
39   llvmlibc_redirectors
40   DEPENDS
41     round_redirector
42 )