diff options
-rw-r--r-- | llvm/include/llvm/module.modulemap | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/llvm/include/llvm/module.modulemap b/llvm/include/llvm/module.modulemap index 8f80c023f77..5a2a54cd80d 100644 --- a/llvm/include/llvm/module.modulemap +++ b/llvm/include/llvm/module.modulemap @@ -53,10 +53,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/DIADataStream.h" + exclude header "DebugInfo/PDB/DIAEnumDebugStreams.h" + exclude header "DebugInfo/PDB/DIAEnumLineNumbers.h" + exclude header "DebugInfo/PDB/DIAEnumSourceFiles.h" + exclude header "DebugInfo/PDB/DIAEnumSymbols.h" + exclude header "DebugInfo/PDB/DIALineNumber.h" + exclude header "DebugInfo/PDB/DIARawSymbol.h" + exclude header "DebugInfo/PDB/DIASession.h" + exclude header "DebugInfo/PDB/DIASourceFile.h" + exclude header "DebugInfo/PDB/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 |