From ce64d36d5b6d550158916256fd6d193bd16947b7 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Thu, 3 Jan 2019 19:24:37 +0000 Subject: [PATCH] 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 --- include/llvm/module.modulemap | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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 * } } -- 2.50.1