[libunwind] 495452e - [libunwind] Remove needless `sys/uio.h` (#97495)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 3 07:25:48 PDT 2024
Author: Izaak Schroeder
Date: 2024-07-03T09:25:43-05:00
New Revision: 495452e7da8fad7bd311fd041530d72c101da643
URL: https://github.com/llvm/llvm-project/commit/495452e7da8fad7bd311fd041530d72c101da643
DIFF: https://github.com/llvm/llvm-project/commit/495452e7da8fad7bd311fd041530d72c101da643.diff
LOG: [libunwind] Remove needless `sys/uio.h` (#97495)
No reference to `readv` or `writev`. This makes `libcxx` happy when
compiling against clang's `libc` as part of
https://github.com/llvm/llvm-project/issues/97191.
Added:
Modified:
libunwind/src/UnwindCursor.hpp
Removed:
################################################################################
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
More information about the cfe-commits
mailing list