Unbreak the modules build by splitting Target out into its own top-level module

llvm-svn: 350346
This commit is contained in:
Adrian Prantl 2019-01-03 19:24:37 +00:00
parent a9b7ca472d
commit 88971f977f
1 changed files with 6 additions and 4 deletions

View File

@ -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 * } }