From 93bd2fa6d2b3e947749d0d8bf56525c12f05b4e7 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Sat, 26 Jul 2014 01:10:32 +0000 Subject: [PATCH] [modules] Work around mislayering of MC / Object. llvm-svn: 214000 --- include/llvm/module.modulemap | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/include/llvm/module.modulemap b/include/llvm/module.modulemap index 1790a7242e5..eb9a698a339 100644 --- a/include/llvm/module.modulemap +++ b/include/llvm/module.modulemap @@ -108,11 +108,21 @@ module LLVM_MC { umbrella "MC" module * { export * } + // FIXME: Excluded due to mislayering. + exclude header "MC/MCObjectSymbolizer.h" + // Exclude this; it's fundamentally non-modular. exclude header "MC/MCTargetOptionsCommandFlags.h" } -module LLVM_Object { requires cplusplus umbrella "Object" module * { export * } } +module LLVM_Object { + requires cplusplus + umbrella "Object" + module * { export * } + + module LLVM_MC_MCObjectSymbolizer { header "MC/MCObjectSymbolizer.h" export * } +} + module LLVM_Option { requires cplusplus umbrella "Option" module * { export * } } module LLVM_TableGen { requires cplusplus umbrella "TableGen" module * { export * } }