From: Adrian Prantl Date: Thu, 3 Jan 2019 19:24:37 +0000 (+0000) Subject: Unbreak the modules build by splitting Target out into its own top-level module X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ce64d36d5b6d550158916256fd6d193bd16947b7;p=llvm Unbreak the modules build by splitting Target out into its own top-level module git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350346 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/module.modulemap b/include/llvm/module.modulemap index 3b6e2a8a0ba..325bd168d00 100644 --- a/include/llvm/module.modulemap +++ b/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 * } }