summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/module.modulemap
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/lib/Bitcode/module.modulemap
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/lib/Bitcode/module.modulemap')
-rw-r--r--llvm/lib/Bitcode/module.modulemap1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/module.modulemap b/llvm/lib/Bitcode/module.modulemap
deleted file mode 100644
index 7df1a0a3c72..00000000000
--- a/llvm/lib/Bitcode/module.modulemap
+++ /dev/null
@@ -1 +0,0 @@
-module Bitcode { requires cplusplus umbrella "." module * { export * } }
OpenPOWER on IntegriCloud