[modules] Work around mislayering of MC / Object.

llvm-svn: 214000
This commit is contained in:
Richard Smith 2014-07-26 01:10:32 +00:00
parent 14e03967ab
commit bda99b5856
1 changed files with 11 additions and 1 deletions

View File

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