llvm/include/llvm/ProfileData/InstrProfData.inc: Add c++-mode in the header.
[oota-llvm.git] / include / llvm / ProfileData / InstrProf.h
index 6b2a396f9b1640338a83b48fed0de9a3511f961a..49569d89507b482cd187e4be47977d6d41930c47 100644 (file)
@@ -612,8 +612,14 @@ template <class IntPtrT> struct CovMapFunctionRecord {
   #define COVMAP_FUNC_RECORD(Type, LLVMType, Name, Init) Type Name;
   #include "llvm/ProfileData/InstrProfData.inc"
 };
-LLVM_PACKED_END
+// Per module coverage mapping data header, i.e. CoverageMapFileHeader
+// documented above.
+struct CovMapHeader {
+#define COVMAP_HEADER(Type, LLVMType, Name, Init) Type Name;
+#include "llvm/ProfileData/InstrProfData.inc"
+};
 
+LLVM_PACKED_END
 }
 
 } // end namespace llvm