[all-commits] [llvm/llvm-project] 4c182d: [libc] Fix suseconds_t definition and utimes_test ...
Michael Jones via All-commits
all-commits at lists.llvm.org
Fri Apr 4 12:54:08 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4c182df633bcd7fd7f0634b2cf6bcab91c3674ec
https://github.com/llvm/llvm-project/commit/4c182df633bcd7fd7f0634b2cf6bcab91c3674ec
Author: Michael Jones <michaelrj at google.com>
Date: 2025-04-04 (Fri, 04 Apr 2025)
Changed paths:
M libc/include/llvm-libc-types/suseconds_t.h
M libc/test/src/sys/time/CMakeLists.txt
M libc/test/src/sys/time/utimes_test.cpp
Log Message:
-----------
[libc] Fix suseconds_t definition and utimes_test (#134326)
The main issue was that the kernel expected `suseconds_t` to be 64 bits
but ours was 32. This caused inconsistent failures since all valid
`suseconds_t` values are less than 1000000 (1 million), and some
configurations caused `struct timeval` to be padded to 128 bits.
Also: forgot to use TEST_FILE instead of FILE_PATH in some places.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list