[modules] Split off a separate module for DebugInfo/PDB/DIA so that its headers

don't get included on systems where the DIA SDK is unavailable.

llvm-svn: 229200
This commit is contained in:
Richard Smith 2015-02-14 00:47:20 +00:00
parent 3d1b0aa008
commit 845af6c46d
1 changed files with 24 additions and 1 deletions

View File

@ -40,7 +40,30 @@ 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 umbrella "DebugInfo" module * { export * } }
module LLVM_DebugInfo_DWARF {
requires cplusplus
umbrella "DebugInfo/DWARF"
module * { export * }
}
module LLVM_DebugInfo_PDB {
requires cplusplus
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.
module LLVM_DebugInfo_PDB_DIA {
requires cplusplus
umbrella "DebugInfo/PDB/DIA"
module * { export * }
}
module LLVM_ExecutionEngine {
requires cplusplus