1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-29 08:08:37 +00:00
freebsd/contrib/llvm-project
Mateusz Guzik 3358108a38 llvm: Support: don't block signals around close if it can be avoided
Signal blocking originally showed up in 51c2afc4b65b2782 ("Support:
Don't call close again if we get EINTR"), but it was overzealous --
there are systems where the error is known to be fine.

This commit elides signal blocking for said systems (the list is
incomplete though).

Note close() can still fail for other reasons (like ENOSPC), in which
case an error will be returned while the fd slot is cleared up.

Reviewed by: dim
Differential Revision: https://reviews.freebsd.org/D42984
2023-12-29 18:52:12 +00:00
..
clang Merge commit 158f4f30adb4 from llvm git (by Corentin Jabot): 2023-12-08 18:36:06 +01:00
compiler-rt Merge llvm-project release/17.x llvmorg-17.0.0-rc4-10-g0176e8729ea4 2023-12-08 18:35:11 +01:00
libcxx Minimize libc++ errno-related header diffs with upstream 2023-12-25 18:19:12 +01:00
libunwind Merge llvm-project release/17.x llvmorg-17.0.0-rc4-10-g0176e8729ea4 2023-12-08 18:35:11 +01:00
lld Merge llvm-project release/17.x llvmorg-17.0.3-0-g888437e1b600 2023-12-08 18:35:41 +01:00
lldb Merge llvm-project release/17.x llvmorg-17.0.0-rc4-10-g0176e8729ea4 2023-12-08 18:35:11 +01:00
llvm llvm: Support: don't block signals around close if it can be avoided 2023-12-29 18:52:12 +00:00
openmp Merge llvm-project release/17.x llvmorg-17.0.5-0-g98bfdac5ce82 2023-12-08 18:35:50 +01:00
FREEBSD-Xlist Merge llvm-project main llvmorg-17-init-19304-gd0b54bb50e51 2023-12-08 18:34:50 +01:00