commit | 48e7cbdf41d7f54c2e75b2c1d16b5b75af4f6e69 | [log] [tgz] |
---|---|---|
author | Adrian Prantl <aprantl@apple.com> | Thu Jun 30 01:46:49 2016 +0000 |
committer | Adrian Prantl <aprantl@apple.com> | Thu Jun 30 01:46:49 2016 +0000 |
tree | 28db3f27ba2aa004ee4b905520eb7253ee23deef | |
parent | 66ec178c6c738446c086803d24a87cc8848a0280 [diff] |
[CMake] Introduce a LLVM_ENABLE_LOCAL_SUBMODULE_VISIBILITY flag. On Darwin it is currently impossible to build LLVM with modules because the Darwin system module map is not compatible with -fmodules-local-submodule-visibility at this point in time. This patch makes the flag optional and off by default on Darwin so it becomes possible to build LLVM with modules again. http://reviews.llvm.org/D21827 rdar://problem/27019000 llvm-svn: 274196