summaryrefslogtreecommitdiffstats
path: root/libc/lib/CMakeLists.txt
blob: 7177248c415b3c22cebc1e704898d4b927b6ea96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

add_entrypoint_library(
  llvmlibc
  DEPENDS
    # errno.h entrypoints
    __errno_location

    # string.h entrypoints
    strcpy
    strcat

    # sys/mman.h entrypoints
    mmap
    munmap
)

add_entrypoint_library(
  llvmlibm
  DEPENDS
    # math.h entrypoints
    round
)

add_redirector_library(
  llvmlibc_redirectors
  DEPENDS
    round_redirector
)
OpenPOWER on IntegriCloud