aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorAlfred Persson Forsberg <cat@catcream.org>2023-08-14 01:56:32 +0100
committerSam James <sam@gentoo.org>2023-08-14 01:56:32 +0100
commit1acbc21d46ba3f052471754bfa5860fba652e932 (patch)
treeae3811987354d1844ab60c202f1f3ccf4f023211 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parent0fb3066873fdfbe28dbb6409c58a8bff7cf208c6 (diff)
downloadllvm-1acbc21d46ba3f052471754bfa5860fba652e932.zip
llvm-1acbc21d46ba3f052471754bfa5860fba652e932.tar.gz
llvm-1acbc21d46ba3f052471754bfa5860fba652e932.tar.bz2
[libc] Define __UTS_NAME_LENGTH for __APPLE__
Before https://github.com/llvm/llvm-project/commit/cae84d8acf5ec7a8f7b9fd2ce33397bcc22c590c all __linux__ checks were incorrectly __unix__ checks. __unix__ being true on macOS systems therefore meant that macOS would use 65 as __UTS_NAME_LENGTH. This commit correctly specifices __UTS_NAME_LENGTH to match XNU as 256. https://opensource.apple.com/source/xnu/xnu-201/bsd/sys/utsname.h.auto.html Reviewed By: thesamesam Differential Revision: https://reviews.llvm.org/D157824
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions