diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-04-16 00:48:58 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-04-16 00:48:58 +0000 |
commit | 2db6f2e508126d237435a4d43af8076bf74f641d (patch) | |
tree | b0c1f523759f2fb1ea36353d016035ef3afaf00c /llvm/lib/Transforms/Utils/ValueMapper.cpp | |
parent | 20d4701b3d8ac65e9d2e249e7cbc3bda58fd6902 (diff) | |
download | bcm5719-llvm-2db6f2e508126d237435a4d43af8076bf74f641d.tar.gz bcm5719-llvm-2db6f2e508126d237435a4d43af8076bf74f641d.zip |
Update and fix LLVM_ENABLE_MODULES:
1) We need to add this flag prior to adding any other, in case the user has
specified a -fmodule-cache-path= flag in their custom CXXFLAGS. Such a flag
causes -Werror builds to fail, and thus all config checks fail, until we add
the corresponding -fmodules flag. The modules selfhost bot does this, for
instance.
2) Delete module maps that were putting .cpp files into modules.
3) Enable -fmodules-local-submodule-visibility, to get proper module
visibility rules applied across submodules of the same module. Disable
-fmodules for C builds, since that flag is not available there.
llvm-svn: 266502
Diffstat (limited to 'llvm/lib/Transforms/Utils/ValueMapper.cpp')
0 files changed, 0 insertions, 0 deletions