forked from OSchip/llvm-project
39 lines
491 B
CMake
39 lines
491 B
CMake
|
|
add_entrypoint_library(
|
|
llvmlibc
|
|
DEPENDS
|
|
# errno.h entrypoints
|
|
__errno_location
|
|
|
|
# string.h entrypoints
|
|
strcpy
|
|
strcat
|
|
|
|
# sys/mman.h entrypoints
|
|
mmap
|
|
munmap
|
|
|
|
# signal.h entrypoints
|
|
raise
|
|
sigaddset
|
|
sigemptyset
|
|
sigprocmask
|
|
|
|
# stdlib.h entrypoints
|
|
_Exit
|
|
abort
|
|
)
|
|
|
|
add_entrypoint_library(
|
|
llvmlibm
|
|
DEPENDS
|
|
# math.h entrypoints
|
|
round
|
|
)
|
|
|
|
add_redirector_library(
|
|
llvmlibc_redirectors
|
|
DEPENDS
|
|
round_redirector
|
|
)
|