2020-06-10 02:34:11 +08:00
|
|
|
set(TARGET_LIBC_ENTRYPOINTS
|
2020-07-29 07:12:17 +08:00
|
|
|
# ctype.h entrypoints
|
2020-07-31 00:36:28 +08:00
|
|
|
libc.src.ctype.isalnum
|
2020-07-29 07:12:17 +08:00
|
|
|
libc.src.ctype.isalpha
|
2021-01-13 06:37:56 +08:00
|
|
|
libc.src.ctype.isascii
|
2020-08-05 02:55:12 +08:00
|
|
|
libc.src.ctype.isblank
|
|
|
|
libc.src.ctype.iscntrl
|
2020-07-31 00:36:28 +08:00
|
|
|
libc.src.ctype.isdigit
|
2020-08-05 02:55:12 +08:00
|
|
|
libc.src.ctype.isgraph
|
2020-08-01 02:04:36 +08:00
|
|
|
libc.src.ctype.islower
|
2020-08-05 22:42:30 +08:00
|
|
|
libc.src.ctype.isprint
|
2020-08-05 02:55:12 +08:00
|
|
|
libc.src.ctype.ispunct
|
2020-08-05 22:42:30 +08:00
|
|
|
libc.src.ctype.isspace
|
2020-08-01 02:04:36 +08:00
|
|
|
libc.src.ctype.isupper
|
2020-08-05 22:42:30 +08:00
|
|
|
libc.src.ctype.isxdigit
|
2021-01-13 06:37:56 +08:00
|
|
|
libc.src.ctype.toascii
|
2020-08-07 03:21:07 +08:00
|
|
|
libc.src.ctype.tolower
|
|
|
|
libc.src.ctype.toupper
|
2020-07-29 07:12:17 +08:00
|
|
|
|
2020-06-10 02:34:11 +08:00
|
|
|
# errno.h entrypoints
|
|
|
|
libc.src.errno.__errno_location
|
|
|
|
|
|
|
|
# string.h entrypoints
|
2021-08-20 01:55:16 +08:00
|
|
|
libc.src.string.bcmp
|
2020-06-16 00:36:10 +08:00
|
|
|
libc.src.string.bzero
|
2020-07-25 03:40:19 +08:00
|
|
|
libc.src.string.memchr
|
2020-12-04 18:21:48 +08:00
|
|
|
libc.src.string.memcmp
|
2020-06-16 00:36:10 +08:00
|
|
|
libc.src.string.memcpy
|
2020-11-25 21:12:48 +08:00
|
|
|
libc.src.string.memmove
|
2020-06-16 00:36:10 +08:00
|
|
|
libc.src.string.memset
|
2020-07-25 03:40:19 +08:00
|
|
|
libc.src.string.memrchr
|
2020-06-16 00:36:10 +08:00
|
|
|
libc.src.string.strcat
|
2020-07-11 02:28:20 +08:00
|
|
|
libc.src.string.strchr
|
2020-07-25 03:40:19 +08:00
|
|
|
libc.src.string.strcpy
|
2021-03-13 05:50:09 +08:00
|
|
|
libc.src.string.strcmp
|
2020-08-08 04:13:48 +08:00
|
|
|
libc.src.string.strcspn
|
2020-07-25 03:40:19 +08:00
|
|
|
libc.src.string.strlen
|
2021-07-28 02:32:37 +08:00
|
|
|
libc.src.string.strncmp
|
2020-11-12 11:42:04 +08:00
|
|
|
libc.src.string.strncpy
|
2020-07-23 06:21:00 +08:00
|
|
|
libc.src.string.strnlen
|
2020-08-08 04:13:48 +08:00
|
|
|
libc.src.string.strpbrk
|
2020-08-01 02:36:23 +08:00
|
|
|
libc.src.string.strrchr
|
2020-08-06 04:36:52 +08:00
|
|
|
libc.src.string.strspn
|
2020-07-25 03:40:19 +08:00
|
|
|
libc.src.string.strstr
|
2020-08-12 01:38:16 +08:00
|
|
|
libc.src.string.strtok
|
2020-08-14 03:51:16 +08:00
|
|
|
libc.src.string.strtok_r
|
2021-08-21 02:05:52 +08:00
|
|
|
|
2021-08-26 05:11:31 +08:00
|
|
|
# inttypes.h entrypoints
|
|
|
|
libc.src.inttypes.strtoimax
|
|
|
|
libc.src.inttypes.strtoumax
|
|
|
|
|
2021-08-21 02:05:52 +08:00
|
|
|
# stdlib.h entrypoints
|
|
|
|
libc.src.stdlib.atoi
|
|
|
|
libc.src.stdlib.atol
|
|
|
|
libc.src.stdlib.atoll
|
|
|
|
libc.src.stdlib.strtol
|
|
|
|
libc.src.stdlib.strtoll
|
|
|
|
libc.src.stdlib.strtoul
|
|
|
|
libc.src.stdlib.strtoull
|
2020-06-10 02:34:11 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
set(TARGET_LIBM_ENTRYPOINTS
|
2021-02-24 13:19:05 +08:00
|
|
|
# fenv.h entrypoints
|
|
|
|
libc.src.fenv.feclearexcept
|
|
|
|
libc.src.fenv.fegetenv
|
|
|
|
libc.src.fenv.fegetexceptflag
|
|
|
|
libc.src.fenv.fegetround
|
|
|
|
libc.src.fenv.feholdexcept
|
|
|
|
libc.src.fenv.fesetenv
|
|
|
|
libc.src.fenv.fesetexceptflag
|
|
|
|
libc.src.fenv.fesetround
|
|
|
|
libc.src.fenv.feraiseexcept
|
|
|
|
libc.src.fenv.fetestexcept
|
|
|
|
libc.src.fenv.feupdateenv
|
|
|
|
|
2020-06-10 02:34:11 +08:00
|
|
|
# math.h entrypoints
|
2020-06-03 05:04:57 +08:00
|
|
|
libc.src.math.copysign
|
|
|
|
libc.src.math.copysignf
|
2020-06-24 15:16:23 +08:00
|
|
|
libc.src.math.copysignl
|
2020-06-10 02:34:11 +08:00
|
|
|
libc.src.math.ceil
|
|
|
|
libc.src.math.ceilf
|
2020-06-26 03:09:02 +08:00
|
|
|
libc.src.math.ceill
|
2020-06-10 02:34:11 +08:00
|
|
|
libc.src.math.cosf
|
|
|
|
libc.src.math.expf
|
|
|
|
libc.src.math.exp2f
|
2021-04-23 12:38:59 +08:00
|
|
|
libc.src.math.expm1f
|
2020-06-10 02:34:11 +08:00
|
|
|
libc.src.math.fabs
|
|
|
|
libc.src.math.fabsf
|
2020-06-09 02:11:49 +08:00
|
|
|
libc.src.math.fabsl
|
2020-11-06 03:55:46 +08:00
|
|
|
libc.src.math.fdim
|
|
|
|
libc.src.math.fdimf
|
|
|
|
libc.src.math.fdiml
|
2020-06-10 02:34:11 +08:00
|
|
|
libc.src.math.floor
|
|
|
|
libc.src.math.floorf
|
2020-06-26 03:09:02 +08:00
|
|
|
libc.src.math.floorl
|
2021-04-20 12:06:25 +08:00
|
|
|
libc.src.math.fma
|
2021-01-02 14:36:29 +08:00
|
|
|
libc.src.math.fmaf
|
2020-07-23 14:04:33 +08:00
|
|
|
libc.src.math.fmax
|
|
|
|
libc.src.math.fmaxf
|
|
|
|
libc.src.math.fmaxl
|
2020-07-10 03:30:29 +08:00
|
|
|
libc.src.math.fmin
|
|
|
|
libc.src.math.fminf
|
|
|
|
libc.src.math.fminl
|
2020-06-03 05:04:57 +08:00
|
|
|
libc.src.math.frexp
|
|
|
|
libc.src.math.frexpf
|
2020-06-24 15:16:23 +08:00
|
|
|
libc.src.math.frexpl
|
2020-09-18 11:22:18 +08:00
|
|
|
libc.src.math.hypot
|
2020-08-13 09:18:28 +08:00
|
|
|
libc.src.math.hypotf
|
2020-11-04 08:30:16 +08:00
|
|
|
libc.src.math.ilogb
|
|
|
|
libc.src.math.ilogbf
|
|
|
|
libc.src.math.ilogbl
|
2021-02-06 07:07:12 +08:00
|
|
|
libc.src.math.llrint
|
|
|
|
libc.src.math.llrintf
|
|
|
|
libc.src.math.llrintl
|
|
|
|
libc.src.math.llround
|
|
|
|
libc.src.math.llroundf
|
|
|
|
libc.src.math.llroundl
|
|
|
|
libc.src.math.lrint
|
|
|
|
libc.src.math.lrintf
|
|
|
|
libc.src.math.lrintl
|
|
|
|
libc.src.math.lround
|
|
|
|
libc.src.math.lroundf
|
|
|
|
libc.src.math.lroundl
|
2020-11-05 14:34:06 +08:00
|
|
|
libc.src.math.ldexp
|
|
|
|
libc.src.math.ldexpf
|
|
|
|
libc.src.math.ldexpl
|
2020-06-03 05:04:57 +08:00
|
|
|
libc.src.math.logb
|
|
|
|
libc.src.math.logbf
|
2020-06-24 15:16:23 +08:00
|
|
|
libc.src.math.logbl
|
2020-06-03 05:04:57 +08:00
|
|
|
libc.src.math.modf
|
|
|
|
libc.src.math.modff
|
2020-06-24 15:16:23 +08:00
|
|
|
libc.src.math.modfl
|
2021-02-06 07:07:12 +08:00
|
|
|
libc.src.math.nearbyint
|
|
|
|
libc.src.math.nearbyintf
|
|
|
|
libc.src.math.nearbyintl
|
2021-01-04 14:33:48 +08:00
|
|
|
libc.src.math.nextafter
|
|
|
|
libc.src.math.nextafterf
|
|
|
|
libc.src.math.nextafterl
|
2020-12-15 10:05:19 +08:00
|
|
|
libc.src.math.remainderf
|
|
|
|
libc.src.math.remainder
|
|
|
|
libc.src.math.remainderl
|
|
|
|
libc.src.math.remquof
|
|
|
|
libc.src.math.remquo
|
|
|
|
libc.src.math.remquol
|
2021-02-06 07:07:12 +08:00
|
|
|
libc.src.math.rint
|
|
|
|
libc.src.math.rintf
|
|
|
|
libc.src.math.rintl
|
2020-06-10 02:34:11 +08:00
|
|
|
libc.src.math.round
|
|
|
|
libc.src.math.roundf
|
2020-06-26 03:09:02 +08:00
|
|
|
libc.src.math.roundl
|
2020-06-10 02:34:11 +08:00
|
|
|
libc.src.math.sincosf
|
|
|
|
libc.src.math.sinf
|
2020-07-28 13:41:36 +08:00
|
|
|
libc.src.math.sqrt
|
|
|
|
libc.src.math.sqrtf
|
|
|
|
libc.src.math.sqrtl
|
2020-06-10 02:34:11 +08:00
|
|
|
libc.src.math.trunc
|
|
|
|
libc.src.math.truncf
|
2020-06-09 02:11:49 +08:00
|
|
|
libc.src.math.truncl
|
2020-06-10 02:34:11 +08:00
|
|
|
)
|
2021-02-24 13:19:05 +08:00
|
|
|
|
2021-03-13 05:50:09 +08:00
|
|
|
if(LLVM_LIBC_FULL_BUILD)
|
|
|
|
list(APPEND TARGET_LIBC_ENTRYPOINTS
|
|
|
|
# stdlib.h entrypoints
|
|
|
|
libc.src.stdlib.abs
|
|
|
|
libc.src.stdlib.labs
|
|
|
|
libc.src.stdlib.llabs
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2021-02-24 13:19:05 +08:00
|
|
|
set(TARGET_LLVMLIBC_ENTRYPOINTS
|
|
|
|
${TARGET_LIBC_ENTRYPOINTS}
|
|
|
|
${TARGET_LIBM_ENTRYPOINTS}
|
|
|
|
)
|