From ef126cdf56d927c1c23c3e7a1a5eb6a0a15f0bc5 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Sat, 14 Feb 2015 00:47:20 +0000 Subject: [PATCH] [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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229200 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/module.modulemap | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/include/llvm/module.modulemap b/include/llvm/module.modulemap index d0053584357..8f80c023f77 100644 --- a/include/llvm/module.modulemap +++ b/include/llvm/module.modulemap @@ -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