Skip to content

Commit 0d7eae6

Browse files
[libc] fix lfind entrypoints
- move arm entrypoint to fullbuild only - remove baremetal entrypoints; we avoid POSIX on baremetal - remove darwin/arm and windows entrypoints since these are untested Fixes: llvm#114692
1 parent 582a479 commit 0d7eae6

File tree

5 files changed

+3
-15
lines changed

5 files changed

+3
-15
lines changed

libc/config/baremetal/arm/entrypoints.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ set(TARGET_LIBC_ENTRYPOINTS
2626
# errno.h entrypoints
2727
libc.src.errno.errno
2828

29-
# search.h entrypoints
30-
libc.src.search.lfind
31-
3229
# setjmp.h entrypoints
3330
libc.src.setjmp.longjmp
3431
libc.src.setjmp.setjmp

libc/config/baremetal/riscv/entrypoints.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ set(TARGET_LIBC_ENTRYPOINTS
2626
# errno.h entrypoints
2727
libc.src.errno.errno
2828

29-
# search.h entrypoints
30-
libc.src.search.lfind
31-
3229
# string.h entrypoints
3330
libc.src.string.bcmp
3431
libc.src.string.bcopy

libc/config/darwin/arm/entrypoints.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ set(TARGET_LIBC_ENTRYPOINTS
2020
# errno.h entrypoints
2121
libc.src.errno.errno
2222

23-
# search.h entrypoints
24-
libc.src.search.lfind
25-
2623
# string.h entrypoints
2724
libc.src.string.bcmp
2825
libc.src.string.bcopy

libc/config/linux/arm/entrypoints.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ set(TARGET_LIBC_ENTRYPOINTS
2020
# errno.h entrypoints
2121
libc.src.errno.errno
2222

23-
# search.h entrypoints
24-
libc.src.search.lfind
25-
2623
# string.h entrypoints
2724
libc.src.string.bcmp
2825
libc.src.string.bcopy
@@ -186,6 +183,9 @@ set(TARGET_LIBC_ENTRYPOINTS
186183

187184
if(LLVM_LIBC_FULL_BUILD)
188185
list(APPEND TARGET_LIBC_ENTRYPOINTS
186+
# search.h entrypoints
187+
libc.src.search.lfind
188+
189189
# setjmp.h entrypoints
190190
libc.src.setjmp.longjmp
191191
libc.src.setjmp.setjmp

libc/config/windows/entrypoints.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ set(TARGET_LIBC_ENTRYPOINTS
1717
libc.src.ctype.tolower
1818
libc.src.ctype.toupper
1919

20-
# search.h entrypoints
21-
libc.src.search.lfind
22-
2320
# string.h entrypoints
2421
libc.src.string.bcmp
2522
libc.src.string.bcopy

0 commit comments

Comments
 (0)