diff options
| author | Jackson Stogel <jtstogel@gmail.com> | 2025-11-10 13:39:34 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-10 13:39:34 -0800 |
| commit | 4b9d7e167b2ab6b7cc6d23516fad8c39ea9bc55f (patch) | |
| tree | 6045fc1843b0223efb099c0d4deaaeb6cdc9b483 /llvm/unittests/Transforms/Utils/BasicBlockUtilsTest.cpp | |
| parent | fb2fa21bd64a8c21d73438d7ea93dd6f15d15112 (diff) | |
| download | llvm-4b9d7e167b2ab6b7cc6d23516fad8c39ea9bc55f.zip llvm-4b9d7e167b2ab6b7cc6d23516fad8c39ea9bc55f.tar.gz llvm-4b9d7e167b2ab6b7cc6d23516fad8c39ea9bc55f.tar.bz2 | |
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`:
https://github.com/llvm/llvm-project/blob/2d5170594147b42a37698760d6e0194eec4f1390/libc/test/src/fcntl/fcntl_test.cpp#L175
Which ASAN caught and errored in the `fcntl` implementation when the
unspecified argument was accessed:
https://github.com/llvm/llvm-project/blob/c12cb2892c808af459eaa270b8738a2b375ecc9b/libc/src/__support/OSUtil/linux/fcntl.cpp#L59
Diffstat (limited to 'llvm/unittests/Transforms/Utils/BasicBlockUtilsTest.cpp')
0 files changed, 0 insertions, 0 deletions
