[llvm] r214000 - [modules] Work around mislayering of MC / Object.
Richard Smith
richard-llvm at metafoo.co.uk
Fri Jul 25 18:10:32 PDT 2014
Author: rsmith
Date: Fri Jul 25 20:10:32 2014
New Revision: 214000
URL: http://llvm.org/viewvc/llvm-project?rev=214000&view=rev
Log:
[modules] Work around mislayering of MC / Object.
Modified:
llvm/trunk/include/llvm/module.modulemap
Modified: llvm/trunk/include/llvm/module.modulemap
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/module.modulemap?rev=214000&r1=213999&r2=214000&view=diff
==============================================================================
--- llvm/trunk/include/llvm/module.modulemap (original)
+++ llvm/trunk/include/llvm/module.modulemap Fri Jul 25 20:10:32 2014
@@ -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 * } }
More information about the llvm-commits
mailing list