summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/module.modulemap10
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 * } }
OpenPOWER on IntegriCloud