summaryrefslogtreecommitdiffstats
path: root/llvm/utils
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2016-04-16 00:48:58 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2016-04-16 00:48:58 +0000
commit2db6f2e508126d237435a4d43af8076bf74f641d (patch)
treeb0c1f523759f2fb1ea36353d016035ef3afaf00c /llvm/utils
parent20d4701b3d8ac65e9d2e249e7cbc3bda58fd6902 (diff)
downloadbcm5719-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/utils')
-rw-r--r--llvm/utils/TableGen/module.modulemap4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/utils/TableGen/module.modulemap b/llvm/utils/TableGen/module.modulemap
deleted file mode 100644
index 8871bbfd4a2..00000000000
--- a/llvm/utils/TableGen/module.modulemap
+++ /dev/null
@@ -1,4 +0,0 @@
-module TableGen {
- umbrella "."
- module * { export * }
-}
OpenPOWER on IntegriCloud