diff options
author | Adrian Prantl <aprantl@apple.com> | 2019-01-03 19:24:37 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2019-01-03 19:24:37 +0000 |
commit | 88971f977f4af9028301a3d7b47f237d9e7269ec (patch) | |
tree | 5a13a29d30d358be703bdc1ca7114ec9016dce40 | |
parent | a9b7ca472de1084321cce8faad2d3c9ba8c7ac31 (diff) | |
download | bcm5719-llvm-88971f977f4af9028301a3d7b47f237d9e7269ec.tar.gz bcm5719-llvm-88971f977f4af9028301a3d7b47f237d9e7269ec.zip |
Unbreak the modules build by splitting Target out into its own top-level module
llvm-svn: 350346
-rw-r--r-- | llvm/include/llvm/module.modulemap | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/llvm/include/llvm/module.modulemap b/llvm/include/llvm/module.modulemap index 3b6e2a8a0ba..325bd168d00 100644 --- a/llvm/include/llvm/module.modulemap +++ b/llvm/include/llvm/module.modulemap @@ -27,11 +27,13 @@ module LLVM_Backend { textual header "CodeGen/CommandFlags.inc" textual header "CodeGen/DIEValue.def" } +} - module Target { - umbrella "Target" - module * { export * } - } +// FIXME: Make this as a submodule of LLVM_Backend again. +// Doing so causes a linker error in clang-format. +module LLVM_Backend_Target { + umbrella "Target" + module * { export * } } module LLVM_Bitcode { requires cplusplus umbrella "Bitcode" module * { export * } } |