1 set(TARGET_LIBC_ENTRYPOINTS
3 libc.src.assert.__assert_fail
10 libc.src.ctype.iscntrl
11 libc.src.ctype.isdigit
12 libc.src.ctype.isgraph
13 libc.src.ctype.islower
14 libc.src.ctype.isprint
15 libc.src.ctype.ispunct
16 libc.src.ctype.isspace
17 libc.src.ctype.isupper
18 libc.src.ctype.isxdigit
19 libc.src.ctype.toascii
20 libc.src.ctype.tolower
21 libc.src.ctype.toupper
23 # string.h entrypoints
28 libc.src.string.memccpy
29 libc.src.string.memchr
30 libc.src.string.memcmp
31 libc.src.string.memcpy
32 libc.src.string.memmem
33 libc.src.string.memmove
34 libc.src.string.mempcpy
35 libc.src.string.memrchr
36 libc.src.string.memset
37 libc.src.string.rindex
38 libc.src.string.stpcpy
39 libc.src.string.stpncpy
40 libc.src.string.strcasecmp
41 libc.src.string.strcasestr
42 libc.src.string.strcat
43 libc.src.string.strchr
44 libc.src.string.strchrnul
45 libc.src.string.strcmp
46 libc.src.string.strcoll
47 libc.src.string.strcpy
48 libc.src.string.strcspn
49 libc.src.string.strdup
50 libc.src.string.strerror
51 libc.src.string.strlcat
52 libc.src.string.strlcpy
53 libc.src.string.strlen
54 libc.src.string.strncasecmp
55 libc.src.string.strncat
56 libc.src.string.strncmp
57 libc.src.string.strncpy
58 libc.src.string.strndup
59 libc.src.string.strnlen
60 libc.src.string.strpbrk
61 libc.src.string.strrchr
62 libc.src.string.strsep
63 libc.src.string.strspn
64 libc.src.string.strstr
65 libc.src.string.strtok
66 libc.src.string.strtok_r
67 libc.src.string.strxfrm
69 # stdbit.h entrypoints
70 libc.src.stdbit.stdc_bit_ceil_uc
71 libc.src.stdbit.stdc_bit_ceil_ui
72 libc.src.stdbit.stdc_bit_ceil_ul
73 libc.src.stdbit.stdc_bit_ceil_ull
74 libc.src.stdbit.stdc_bit_ceil_us
75 libc.src.stdbit.stdc_bit_floor_uc
76 libc.src.stdbit.stdc_bit_floor_ui
77 libc.src.stdbit.stdc_bit_floor_ul
78 libc.src.stdbit.stdc_bit_floor_ull
79 libc.src.stdbit.stdc_bit_floor_us
80 libc.src.stdbit.stdc_bit_width_uc
81 libc.src.stdbit.stdc_bit_width_ui
82 libc.src.stdbit.stdc_bit_width_ul
83 libc.src.stdbit.stdc_bit_width_ull
84 libc.src.stdbit.stdc_bit_width_us
85 libc.src.stdbit.stdc_count_ones_uc
86 libc.src.stdbit.stdc_count_ones_ui
87 libc.src.stdbit.stdc_count_ones_ul
88 libc.src.stdbit.stdc_count_ones_ull
89 libc.src.stdbit.stdc_count_ones_us
90 libc.src.stdbit.stdc_count_zeros_uc
91 libc.src.stdbit.stdc_count_zeros_ui
92 libc.src.stdbit.stdc_count_zeros_ul
93 libc.src.stdbit.stdc_count_zeros_ull
94 libc.src.stdbit.stdc_count_zeros_us
95 libc.src.stdbit.stdc_first_leading_one_uc
96 libc.src.stdbit.stdc_first_leading_one_ui
97 libc.src.stdbit.stdc_first_leading_one_ul
98 libc.src.stdbit.stdc_first_leading_one_ull
99 libc.src.stdbit.stdc_first_leading_one_us
100 libc.src.stdbit.stdc_first_leading_zero_uc
101 libc.src.stdbit.stdc_first_leading_zero_ui
102 libc.src.stdbit.stdc_first_leading_zero_ul
103 libc.src.stdbit.stdc_first_leading_zero_ull
104 libc.src.stdbit.stdc_first_leading_zero_us
105 libc.src.stdbit.stdc_first_trailing_one_uc
106 libc.src.stdbit.stdc_first_trailing_one_ui
107 libc.src.stdbit.stdc_first_trailing_one_ul
108 libc.src.stdbit.stdc_first_trailing_one_ull
109 libc.src.stdbit.stdc_first_trailing_one_us
110 libc.src.stdbit.stdc_first_trailing_zero_uc
111 libc.src.stdbit.stdc_first_trailing_zero_ui
112 libc.src.stdbit.stdc_first_trailing_zero_ul
113 libc.src.stdbit.stdc_first_trailing_zero_ull
114 libc.src.stdbit.stdc_first_trailing_zero_us
115 libc.src.stdbit.stdc_has_single_bit_uc
116 libc.src.stdbit.stdc_has_single_bit_ui
117 libc.src.stdbit.stdc_has_single_bit_ul
118 libc.src.stdbit.stdc_has_single_bit_ull
119 libc.src.stdbit.stdc_has_single_bit_us
120 libc.src.stdbit.stdc_leading_ones_uc
121 libc.src.stdbit.stdc_leading_ones_ui
122 libc.src.stdbit.stdc_leading_ones_ul
123 libc.src.stdbit.stdc_leading_ones_ull
124 libc.src.stdbit.stdc_leading_ones_us
125 libc.src.stdbit.stdc_leading_zeros_uc
126 libc.src.stdbit.stdc_leading_zeros_ui
127 libc.src.stdbit.stdc_leading_zeros_ul
128 libc.src.stdbit.stdc_leading_zeros_ull
129 libc.src.stdbit.stdc_leading_zeros_us
130 libc.src.stdbit.stdc_trailing_ones_uc
131 libc.src.stdbit.stdc_trailing_ones_ui
132 libc.src.stdbit.stdc_trailing_ones_ul
133 libc.src.stdbit.stdc_trailing_ones_ull
134 libc.src.stdbit.stdc_trailing_ones_us
135 libc.src.stdbit.stdc_trailing_zeros_uc
136 libc.src.stdbit.stdc_trailing_zeros_ui
137 libc.src.stdbit.stdc_trailing_zeros_ul
138 libc.src.stdbit.stdc_trailing_zeros_ull
139 libc.src.stdbit.stdc_trailing_zeros_us
141 # stdlib.h entrypoints
142 libc.src.stdlib._Exit
143 libc.src.stdlib.abort
145 libc.src.stdlib.atexit
149 libc.src.stdlib.atoll
150 libc.src.stdlib.bsearch
155 libc.src.stdlib.llabs
156 libc.src.stdlib.lldiv
157 libc.src.stdlib.qsort
158 libc.src.stdlib.qsort_r
160 libc.src.stdlib.srand
161 libc.src.stdlib.strtod
162 libc.src.stdlib.strtof
163 libc.src.stdlib.strtol
164 libc.src.stdlib.strtold
165 libc.src.stdlib.strtoll
166 libc.src.stdlib.strtoul
167 libc.src.stdlib.strtoull
169 # Only implemented in the test suite
170 libc.src.stdlib.aligned_alloc
172 libc.src.stdlib.malloc
173 libc.src.stdlib.realloc
175 # errno.h entrypoints
178 # stdio.h entrypoints
179 libc.src.stdio.clearerr
180 libc.src.stdio.fclose
181 libc.src.stdio.printf
182 libc.src.stdio.vprintf
183 libc.src.stdio.fprintf
184 libc.src.stdio.vfprintf
185 libc.src.stdio.snprintf
186 libc.src.stdio.sprintf
187 libc.src.stdio.vsnprintf
188 libc.src.stdio.vsprintf
190 libc.src.stdio.ferror
191 libc.src.stdio.fflush
200 libc.src.stdio.fwrite
202 libc.src.stdio.getchar
204 libc.src.stdio.putchar
206 libc.src.stdio.remove
207 libc.src.stdio.stderr
209 libc.src.stdio.stdout
210 libc.src.stdio.ungetc
212 # inttypes.h entrypoints
213 libc.src.inttypes.imaxabs
214 libc.src.inttypes.imaxdiv
215 libc.src.inttypes.strtoimax
216 libc.src.inttypes.strtoumax
220 libc.src.time.clock_gettime
221 libc.src.time.nanosleep
223 # wchar.h entrypoints
226 # gpu/rpc.h entrypoints
227 libc.src.gpu.rpc_host_call
228 libc.src.gpu.rpc_fprintf
231 set(TARGET_LIBM_ENTRYPOINTS
251 libc.src.math.copysign
252 libc.src.math.copysignf
293 libc.src.math.llrintf
294 libc.src.math.llround
295 libc.src.math.llroundf
307 libc.src.math.lroundf
312 libc.src.math.nearbyint
313 libc.src.math.nearbyintf
314 libc.src.math.nextafter
315 libc.src.math.nextafterf
316 libc.src.math.nexttoward
317 libc.src.math.nexttowardf
322 libc.src.math.remainder
323 libc.src.math.remainderf
325 libc.src.math.remquof
331 libc.src.math.scalbnf
334 libc.src.math.sincosf
345 libc.src.math.tgammaf
350 set(TARGET_LLVMLIBC_ENTRYPOINTS
351 ${TARGET_LIBC_ENTRYPOINTS}
352 ${TARGET_LIBM_ENTRYPOINTS}