1set(TARGET_LIBC_ENTRYPOINTS 2 # ctype.h entrypoints 3 libc.src.ctype.isalnum 4 libc.src.ctype.isalpha 5 libc.src.ctype.isascii 6 libc.src.ctype.isblank 7 libc.src.ctype.iscntrl 8 libc.src.ctype.isdigit 9 libc.src.ctype.isgraph 10 libc.src.ctype.islower 11 libc.src.ctype.isprint 12 libc.src.ctype.ispunct 13 libc.src.ctype.isspace 14 libc.src.ctype.isupper 15 libc.src.ctype.isxdigit 16 libc.src.ctype.toascii 17 libc.src.ctype.tolower 18 libc.src.ctype.toupper 19 20 # string.h entrypoints 21 libc.src.string.bcmp 22 libc.src.string.bzero 23 libc.src.string.memccpy 24 libc.src.string.memchr 25 libc.src.string.memcmp 26 libc.src.string.memcpy 27 libc.src.string.memmove 28 libc.src.string.mempcpy 29 libc.src.string.memrchr 30 libc.src.string.memset 31 libc.src.string.stpcpy 32 libc.src.string.stpncpy 33 libc.src.string.strcat 34 libc.src.string.strchr 35 libc.src.string.strcmp 36 libc.src.string.strcpy 37 libc.src.string.strcspn 38 libc.src.string.strlcat 39 libc.src.string.strlcpy 40 libc.src.string.strlen 41 libc.src.string.strncat 42 libc.src.string.strncmp 43 libc.src.string.strncpy 44 libc.src.string.strnlen 45 libc.src.string.strpbrk 46 libc.src.string.strrchr 47 libc.src.string.strspn 48 libc.src.string.strstr 49 libc.src.string.strtok 50 libc.src.string.strtok_r 51 # inttypes.h entrypoints 52 libc.src.inttypes.imaxabs 53 libc.src.inttypes.imaxdiv 54 libc.src.inttypes.strtoimax 55 libc.src.inttypes.strtoumax 56 57 # stdlib.h entrypoints 58 libc.src.stdlib.abs 59 libc.src.stdlib.atoi 60 libc.src.stdlib.atof 61 libc.src.stdlib.atol 62 libc.src.stdlib.atoll 63 libc.src.stdlib.bsearch 64 libc.src.stdlib.div 65 libc.src.stdlib.labs 66 libc.src.stdlib.ldiv 67 libc.src.stdlib.llabs 68 libc.src.stdlib.lldiv 69 libc.src.stdlib.qsort 70 libc.src.stdlib.strtod 71 libc.src.stdlib.strtof 72 libc.src.stdlib.strtol 73 libc.src.stdlib.strtold 74 libc.src.stdlib.strtoll 75 libc.src.stdlib.strtoul 76 libc.src.stdlib.strtoull 77) 78 79set(TARGET_LIBM_ENTRYPOINTS 80 # math.h entrypoints 81 libc.src.math.cosf 82 libc.src.math.fabs 83 libc.src.math.fabsf 84 libc.src.math.fabsl 85 libc.src.math.fdim 86 libc.src.math.fdimf 87 libc.src.math.fdiml 88 libc.src.math.fmax 89 libc.src.math.fmaxf 90 libc.src.math.fmaxl 91 libc.src.math.fmin 92 libc.src.math.fminf 93 libc.src.math.fminl 94 libc.src.math.sincosf 95 libc.src.math.sinf 96) 97 98set(TARGET_LLVMLIBC_ENTRYPOINTS 99 ${TARGET_LIBC_ENTRYPOINTS} 100 ${TARGET_LIBM_ENTRYPOINTS} 101) 102