llvm-capstone/libc/lib/CMakeLists.txt
Alex Brachet a499d68056 [libc] Create abort and _Exit
This revision creates abort and _Exit implementations

Differential Revision: https://reviews.llvm.org/D74949
2020-03-05 14:21:18 -05:00

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
)