[llvm] r229243 - [modules] Try harder to stop DebugInfo/PDB/DIA being built if not available.
Richard Smith
richard-llvm at metafoo.co.uk
Fri Feb 13 21:54:56 PST 2015
Author: rsmith
Date: Fri Feb 13 23:54:56 2015
New Revision: 229243
URL: http://llvm.org/viewvc/llvm-project?rev=229243&view=rev
Log:
[modules] Try harder to stop DebugInfo/PDB/DIA being built if not available.
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=229243&r1=229242&r2=229243&view=diff
==============================================================================
--- llvm/trunk/include/llvm/module.modulemap (original)
+++ llvm/trunk/include/llvm/module.modulemap Fri Feb 13 23:54:56 2015
@@ -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
More information about the llvm-commits
mailing list