diff options
author | Raphael Isemann <teemperor@gmail.com> | 2020-05-08 18:13:43 +0200 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2020-05-08 18:13:58 +0200 |
commit | 7cf4ab13af8aa3183e551b3319399cddd9384948 (patch) | |
tree | 1f3b201eb0c2f6cdb28dd6c88a2991e1c92d600a /lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp | |
parent | ff9045dc9c05769153eb6efed723510bde284ea4 (diff) | |
download | llvm-7cf4ab13af8aa3183e551b3319399cddd9384948.zip llvm-7cf4ab13af8aa3183e551b3319399cddd9384948.tar.gz llvm-7cf4ab13af8aa3183e551b3319399cddd9384948.tar.bz2 |
[lldb][modules] Disable Clang Modules in source/Host directory on macOS
Summary:
The arpa/inet.h header in macOS is providing an incorrect htonl
function with enabled local submodule visibility while building LLDB. This
caused several networking tests to fail as the IP addresses are now flipped
in LLDB.
This patch disables building with modules when local submodule visibility is
active and the current system is macOS for the source/Host directory (which
is the *only directory that includes arpa/inet.h).
* debugserver also includes arpa/inet.h but there we already disabled
modules.
Reviewers: aprantl
Reviewed By: aprantl
Subscribers: mgorny, JDevlieghere
Differential Revision: https://reviews.llvm.org/D79632
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp')
0 files changed, 0 insertions, 0 deletions