Reapply "Define a module map entry for DebugInfo/CodeView."

This reapplies r274313 with two additional #include directives needed
when submodule visibility is enabled.

Fixes PR28384.

llvm-svn: 274358
This commit is contained in:
Adrian Prantl 2016-07-01 15:54:46 +00:00
parent ad2b4e1334
commit b340676439
2 changed files with 14 additions and 1 deletions

View File

@ -12,6 +12,8 @@
#include "llvm/ADT/ArrayRef.h"
#include "llvm/DebugInfo/CodeView/CodeView.h"
#include "llvm/DebugInfo/CodeView/CVRecord.h"
#include "llvm/DebugInfo/CodeView/TypeRecord.h"
#include "llvm/Support/Error.h"
namespace llvm {
@ -58,4 +60,4 @@ public:
}
}
#endif
#endif

View File

@ -84,6 +84,17 @@ module LLVM_DebugInfo_PDB_DIA {
module * { export * }
}
module LLVM_DebugInfo_CodeView {
requires cplusplus
umbrella "DebugInfo/CodeView"
module * { export * }
// These are intended for (repeated) textual inclusion.
textual header "DebugInfo/CodeView/TypeRecords.def"
textual header "DebugInfo/CodeView/CVSymbolTypes.def"
}
module LLVM_ExecutionEngine {
requires cplusplus