[all-commits] [llvm/llvm-project] 4c9c1a: [libc] Enable linux directory entries syscalls in ...
Mikhail R. Gadelha via All-commits
all-commits at lists.llvm.org
Thu May 4 15:07:43 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4c9c1a4e4f854b2a4891813b2b1d7e1079a52a62
https://github.com/llvm/llvm-project/commit/4c9c1a4e4f854b2a4891813b2b1d7e1079a52a62
Author: Mikhail R. Gadelha <mikhail at igalia.com>
Date: 2023-05-04 (Thu, 04 May 2023)
Changed paths:
M libc/config/linux/riscv64/entrypoints.txt
M libc/config/linux/riscv64/headers.txt
M libc/include/llvm-libc-types/struct_dirent.h
M libc/src/__support/File/CMakeLists.txt
M libc/src/__support/File/dir.cpp
M libc/src/__support/File/linux_dir.cpp
Log Message:
-----------
[libc] Enable linux directory entries syscalls in riscv64
This patch updates the struct dirent to be on par with glibc (by adding
a missing d_type member) and update the readdir call to use SYS_getdents64
instead of SYS_getdents.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D147738
More information about the All-commits
mailing list