X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2Fmodule.modulemap;h=6d6fcbe22960187f2be527895c85d09ba24578b6;hb=5b674c0b49619bc95ab27abfeffc25fb4b0cc71a;hp=8f80c023f776a7fab5b87f4a4106a2b011be7edb;hpb=ef126cdf56d927c1c23c3e7a1a5eb6a0a15f0bc5;p=oota-llvm.git diff --git a/include/llvm/module.modulemap b/include/llvm/module.modulemap index 8f80c023f77..6d6fcbe2296 100644 --- a/include/llvm/module.modulemap +++ b/include/llvm/module.modulemap @@ -2,7 +2,12 @@ module LLVM_Analysis { requires cplusplus umbrella "Analysis" module * { export * } + + // FIXME: Why is this excluded? exclude header "Analysis/BlockFrequencyInfoImpl.h" + + // This is intended for (repeated) textual inclusion. + textual header "Analysis/TargetLibraryInfo.def" } module LLVM_AsmParser { requires cplusplus umbrella "AsmParser" module * { export * } } @@ -24,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 { @@ -41,6 +49,11 @@ module LLVM_Backend { module LLVM_Bitcode { requires cplusplus umbrella "Bitcode" module * { export * } } module LLVM_Config { requires cplusplus umbrella "Config" module * { export * } } +module LLVM_DebugInfo { + requires cplusplus + module DIContext { header "DebugInfo/DIContext.h" export * } +} + module LLVM_DebugInfo_DWARF { requires cplusplus @@ -53,10 +66,23 @@ module LLVM_DebugInfo_PDB { umbrella "DebugInfo/PDB" module * { export * } + + // Separate out this subdirectory; it's an optional component that depends on + // a separate library which might not be available. + // + // FIXME: There should be a better way to specify this. + exclude header "DebugInfo/PDB/DIA/DIADataStream.h" + exclude header "DebugInfo/PDB/DIA/DIAEnumDebugStreams.h" + exclude header "DebugInfo/PDB/DIA/DIAEnumLineNumbers.h" + exclude header "DebugInfo/PDB/DIA/DIAEnumSourceFiles.h" + exclude header "DebugInfo/PDB/DIA/DIAEnumSymbols.h" + exclude header "DebugInfo/PDB/DIA/DIALineNumber.h" + exclude header "DebugInfo/PDB/DIA/DIARawSymbol.h" + exclude header "DebugInfo/PDB/DIA/DIASession.h" + exclude header "DebugInfo/PDB/DIA/DIASourceFile.h" + exclude header "DebugInfo/PDB/DIA/DIASupport.h" } -// Separate out this subdirectory; it's an optional component that depends on -// a separate library which might not be available. module LLVM_DebugInfo_PDB_DIA { requires cplusplus @@ -95,8 +121,10 @@ module LLVM_IR { module * { export * } // These are intended for (repeated) textual inclusion. + 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 * } } @@ -170,6 +198,7 @@ module LLVM_Utils { 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" @@ -182,6 +211,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 {