[llvm] r274358 - Reapply "Define a module map entry for DebugInfo/CodeView."
Adrian Prantl via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 1 08:54:46 PDT 2016
Author: adrian
Date: Fri Jul 1 10:54:46 2016
New Revision: 274358
URL: http://llvm.org/viewvc/llvm-project?rev=274358&view=rev
Log:
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.
Modified:
llvm/trunk/include/llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h
llvm/trunk/include/llvm/module.modulemap
Modified: llvm/trunk/include/llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h?rev=274358&r1=274357&r2=274358&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h (original)
+++ llvm/trunk/include/llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h Fri Jul 1 10:54:46 2016
@@ -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
\ No newline at end of file
+#endif
Modified: llvm/trunk/include/llvm/module.modulemap
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/module.modulemap?rev=274358&r1=274357&r2=274358&view=diff
==============================================================================
--- llvm/trunk/include/llvm/module.modulemap (original)
+++ llvm/trunk/include/llvm/module.modulemap Fri Jul 1 10:54:46 2016
@@ -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
More information about the llvm-commits
mailing list