From: NAKAMURA Takumi Date: Wed, 11 Oct 2017 11:08:50 +0000 (+0000) Subject: llvm/module.modulemap: Move Support_TargetRegistry to let LLVMSupport free from MC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=933d4a5ed6e1982d55ab142afcbc8c7ca54af327;p=llvm llvm/module.modulemap: Move Support_TargetRegistry to let LLVMSupport free from MC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315449 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/module.modulemap b/include/llvm/module.modulemap index adbeeb51303..1b6c7b2f889 100644 --- a/include/llvm/module.modulemap +++ b/include/llvm/module.modulemap @@ -226,12 +226,6 @@ module LLVM_LTO { requires cplusplus umbrella "LTO" module * { export * } } module LLVM_MC { requires cplusplus - // FIXME: Mislayered? - module Support_TargetRegistry { - header "Support/TargetRegistry.h" - export * - } - umbrella "MC" module * { export * } @@ -256,6 +250,13 @@ module LLVM_ProfileData { textual header "ProfileData/InstrProfData.inc" } +// FIXME: Mislayered? +module LLVM_Support_TargetRegistry { + requires cplusplus + header "Support/TargetRegistry.h" + export * +} + module LLVM_TableGen { requires cplusplus umbrella "TableGen" module * { export * } } module LLVM_Transforms {