Skip to content

Commit b9bb946

Browse files
committed
[lldb] Re-enable Clang Modules in source/Host directory on macOS
Re-enable clang modules for source/Host when targetting macOS 14 or later, in which the underlying issue has been fixed.
1 parent 54e8cfe commit b9bb946

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

lldb/source/Host/CMakeLists.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
if (APPLE AND LLVM_ENABLE_LOCAL_SUBMODULE_VISIBILITY)
22
# The arpa/inet.h header used in the files here is providing a miscompiled
3-
# htonl function on macOS <= 10.15 when local submodule visibility is active.
4-
# Disabling modules in this directory until this is is fixed.
5-
# See rdar://problem/62886385
6-
remove_module_flags()
3+
# htonl function on macOS < 14 when local submodule visibility is active.
4+
if (CMAKE_OSX_DEPLOYMENT_TARGET VERSION_LESS 14.0)
5+
# Disabling modules in this directory.
6+
remove_module_flags()
7+
endif()
78
endif()
89

910
macro(add_host_subdirectory group)

0 commit comments

Comments
 (0)