Minor fix -- use the right version enum/NFC
authorXinliang David Li <davidxl@google.com>
Fri, 8 Jan 2016 19:21:32 +0000 (19:21 +0000)
committerXinliang David Li <davidxl@google.com>
Fri, 8 Jan 2016 19:21:32 +0000 (19:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257194 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ProfileData/InstrProfData.inc

index 6aadf90..9fc4f54 100644 (file)
@@ -182,7 +182,7 @@ COVMAP_HEADER(uint32_t, Int32Ty, FilenamesSize, \
 COVMAP_HEADER(uint32_t, Int32Ty, CoverageSize, \
               llvm::ConstantInt::get(Int32Ty, CoverageMappingSize))
 COVMAP_HEADER(uint32_t, Int32Ty, Version, \
-              llvm::ConstantInt::get(Int32Ty, CoverageMappingVersion1))
+              llvm::ConstantInt::get(Int32Ty, CoverageMappingCurrentVersion))
 #undef COVMAP_HEADER
 /* COVMAP_HEADER end.  */