aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/Binary.cpp
diff options
context:
space:
mode:
authorMark de Wever <koraq@xs4all.nl>2024-01-16 19:13:40 +0100
committerGitHub <noreply@github.com>2024-01-16 19:13:40 +0100
commit34933d1872b5eefb94dbd30dce3c342db008ad1c (patch)
tree501b985e2205931f704c279adee72a83ba0e188b /llvm/lib/Object/Binary.cpp
parente0443624b9b418cd2a1b26cac662885aedfb4977 (diff)
downloadllvm-34933d1872b5eefb94dbd30dce3c342db008ad1c.zip
llvm-34933d1872b5eefb94dbd30dce3c342db008ad1c.tar.gz
llvm-34933d1872b5eefb94dbd30dce3c342db008ad1c.tar.bz2
[libc++] Improves _LIBCPP_HAS_NO_THREADS guards. (#76624)
Previously the header included several headers, possibly granularized threading headers. This could lead to build errors when these headers were incompatible with threading disabled. Now test the guard before inclusion. This matches the pattern used for no localization and no wide characters. Fixes: https://github.com/llvm/llvm-project/issues/76620
Diffstat (limited to 'llvm/lib/Object/Binary.cpp')
0 files changed, 0 insertions, 0 deletions