X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2Fmodule.modulemap;h=0adce0c9602d952a4aca35321ccb563e2bd8d677;hb=ada56848f5ff516cb5754215b265cd0ef78092b7;hp=163cbc3df8651ff0840324b2e74b60c92606136e;hpb=04df402b09b38d9ba0cd7c2e3f7e3d7f8489cdbd;p=oota-llvm.git diff --git a/include/llvm/module.modulemap b/include/llvm/module.modulemap index 163cbc3df86..0adce0c9602 100644 --- a/include/llvm/module.modulemap +++ b/include/llvm/module.modulemap @@ -29,6 +29,9 @@ module LLVM_Backend { exclude header "CodeGen/CommandFlags.h" exclude header "CodeGen/LinkAllAsmWriterComponents.h" exclude header "CodeGen/LinkAllCodegenComponents.h" + + // These are intended for (repeated) textual inclusion. + textual header "CodeGen/DIEValue.def" } module Target { @@ -121,6 +124,7 @@ module LLVM_IR { textual header "IR/DebugInfoFlags.def" textual header "IR/Instruction.def" textual header "IR/Metadata.def" + textual header "IR/Value.def" } module LLVM_IRReader { requires cplusplus umbrella "IRReader" module * { export * } } @@ -186,17 +190,15 @@ module LLVM_Utils { // Exclude this; it's fundamentally non-modular. exclude header "Support/PluginLoader.h" - // Exclude this; it's a weirdly-factored part of llvm-gcov and conflicts - // with the Analysis module (which also defines an llvm::GCOVOptions). - exclude header "Support/GCOV.h" - // FIXME: Mislayered? exclude header "Support/TargetRegistry.h" // These are intended for textual inclusion. + textual header "Support/ARMTargetParser.def" textual header "Support/Dwarf.def" textual header "Support/ELFRelocs/AArch64.def" textual header "Support/ELFRelocs/ARM.def" + textual header "Support/ELFRelocs/AVR.def" textual header "Support/ELFRelocs/Hexagon.def" textual header "Support/ELFRelocs/i386.def" textual header "Support/ELFRelocs/Mips.def" @@ -206,6 +208,12 @@ module LLVM_Utils { textual header "Support/ELFRelocs/SystemZ.def" textual header "Support/ELFRelocs/x86_64.def" } + + // This part of the module is usable from both C and C++ code. + module ConvertUTF { + header "Support/ConvertUTF.h" + export * + } } module LLVM_CodeGen_MachineValueType {