[llvm] r229200 - [modules] Split off a separate module for DebugInfo/PDB/DIA so that its headers
Richard Smith
richard-llvm at metafoo.co.uk
Fri Feb 13 16:47:20 PST 2015
Author: rsmith
Date: Fri Feb 13 18:47:20 2015
New Revision: 229200
URL: http://llvm.org/viewvc/llvm-project?rev=229200&view=rev
Log:
[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.
Modified:
llvm/trunk/include/llvm/module.modulemap
Modified: llvm/trunk/include/llvm/module.modulemap
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/module.modulemap?rev=229200&r1=229199&r2=229200&view=diff
==============================================================================
--- llvm/trunk/include/llvm/module.modulemap (original)
+++ llvm/trunk/include/llvm/module.modulemap Fri Feb 13 18:47:20 2015
@@ -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
More information about the llvm-commits
mailing list