[all-commits] [llvm/llvm-project] 8cd4ec: [libc] Unify lseek implementations
Mikhail R. Gadelha via All-commits
all-commits at lists.llvm.org
Wed Sep 6 07:57:00 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8cd4ecfa6001eed7486fa3618bbd6bde47a0b075
https://github.com/llvm/llvm-project/commit/8cd4ecfa6001eed7486fa3618bbd6bde47a0b075
Author: Mikhail R. Gadelha <mikhail at igalia.com>
Date: 2023-09-06 (Wed, 06 Sep 2023)
Changed paths:
M libc/src/__support/File/linux/file.cpp
A libc/src/__support/File/linux/lseekImpl.h
M libc/src/unistd/linux/lseek.cpp
Log Message:
-----------
[libc] Unify lseek implementations
In patch D157792, the calls to SYS_llseek/SYS_llseek for 32-bit systems
were fixed in lseek.cpp but there was another implementation in file.cpp
that was missed.
To reduce the code duplication, this patch unifies both call sites to
use a new lseekimpl function.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D159208
More information about the All-commits
mailing list