https://github.com/izaakschroeder created https://github.com/llvm/llvm-project/pull/97231
Companion to https://github.com/llvm/llvm-project/issues/97191 >From 31dc769c1866a4a0100dde0a3743c215a9a5f5eb Mon Sep 17 00:00:00 2001 From: Izaak Schroeder <izaak.schroe...@gmail.com> Date: Sun, 30 Jun 2024 13:33:16 -0700 Subject: [PATCH 1/2] [libc]: add missing aarch64 headers --- libc/config/linux/aarch64/entrypoints.txt | 3 +++ libc/config/linux/aarch64/headers.txt | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/libc/config/linux/aarch64/entrypoints.txt b/libc/config/linux/aarch64/entrypoints.txt index 8a26536cea9a0..b59400db81fed 100644 --- a/libc/config/linux/aarch64/entrypoints.txt +++ b/libc/config/linux/aarch64/entrypoints.txt @@ -308,6 +308,9 @@ set(TARGET_LIBC_ENTRYPOINTS libc.src.unistd.unlink libc.src.unistd.unlinkat libc.src.unistd.write + + # XXX + libc.src.assert.__assert_fail ) set(TARGET_LIBM_ENTRYPOINTS diff --git a/libc/config/linux/aarch64/headers.txt b/libc/config/linux/aarch64/headers.txt index 7d25877cefcc8..ed126d6128871 100644 --- a/libc/config/linux/aarch64/headers.txt +++ b/libc/config/linux/aarch64/headers.txt @@ -31,4 +31,10 @@ set(TARGET_PUBLIC_HEADERS libc.include.sys_ioctl # Disabled due to epoll_wait syscalls not being available on this platform. # libc.include.sys_epoll + + # XXX + libc.include.sys_auxv + libc.include.fcntl + libc.include.sched + libc.include.sys_stat ) >From a5f8ee220c088a39d9b4bf60986166e83ffafffa Mon Sep 17 00:00:00 2001 From: Izaak Schroeder <izaak.schroe...@gmail.com> Date: Sun, 30 Jun 2024 13:33:38 -0700 Subject: [PATCH 2/2] [libunwind]: remove needless `sys/uio.h` No reference to `readv` or `writev`. --- libunwind/src/UnwindCursor.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/libunwind/src/UnwindCursor.hpp b/libunwind/src/UnwindCursor.hpp index 66fe8e2a32cca..677e842d8a22b 100644 --- a/libunwind/src/UnwindCursor.hpp +++ b/libunwind/src/UnwindCursor.hpp @@ -36,7 +36,6 @@ #include <errno.h> #include <signal.h> #include <sys/syscall.h> -#include <sys/uio.h> #include <unistd.h> #define _LIBUNWIND_CHECK_LINUX_SIGRETURN 1 #endif _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits