mirror-llvm-project/libc/test
Jackson Stogel 4b9d7e167b
Reapply "[libc] Return errno from OFD failure paths in fcntl." (#166658) (#166846)
The previous implementation in #166252 (rolled back in #166658) caused
buildbot failures due to a bug in an added test. The modified
`UseAfterClose` did not pass a `struct flock` value to `fcntl`:


2d51705941/libc/test/src/fcntl/fcntl_test.cpp (L175)

Which ASAN caught and errored in the `fcntl` implementation when the
unspecified argument was accessed:


c12cb2892c/libc/src/__support/OSUtil/linux/fcntl.cpp (L59)
2025-11-10 13:39:34 -08:00
..
include Revert "[libc] Add -Werror for libc tests" (#164684) 2025-10-22 19:05:10 +00:00
integration Revert "[libc] Add -Werror for libc tests" (#164684) 2025-10-22 19:05:10 +00:00
IntegrationTest [libc] Make errno asserts noop on gpu targets (#166606) 2025-11-05 11:17:13 -08:00
shared [libc][math] Refactor exp2m1f16 implementation to header-only in src/__support/math folder. (#162019) 2025-11-05 14:50:40 +02:00
src Reapply "[libc] Return errno from OFD failure paths in fcntl." (#166658) (#166846) 2025-11-10 13:39:34 -08:00
UnitTest [libc] Make errno asserts noop on gpu targets (#166606) 2025-11-05 11:17:13 -08:00
utils [libc] Correct x86_64 architecture for string(s) tests. (#143150) 2025-06-06 11:18:55 -04:00
CMakeLists.txt [libc][math] add smoke tests to shared/math.h (#149741) 2025-07-21 20:48:57 +03:00