]> granicus.if.org Git - clang/commitdiff
InstrProf: Add a comment to clarify an argument
authorJustin Bogner <mail@justinbogner.com>
Thu, 2 Jul 2015 20:47:25 +0000 (20:47 +0000)
committerJustin Bogner <mail@justinbogner.com>
Thu, 2 Jul 2015 20:47:25 +0000 (20:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241296 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CoverageMappingGen.cpp

index e4fe203ffd124f87ad2bbd6f20a5f5276b506921..2467143faff1ed6739d10973a53f95fb8a878da8 100644 (file)
@@ -932,7 +932,8 @@ void CoverageMappingModuleGen::addFunctionMappingRecord(
   if (!FunctionRecordTy) {
     llvm::Type *FunctionRecordTypes[] = {Int8PtrTy, Int32Ty, Int32Ty, Int64Ty};
     FunctionRecordTy =
-        llvm::StructType::get(Ctx, makeArrayRef(FunctionRecordTypes), true);
+        llvm::StructType::get(Ctx, makeArrayRef(FunctionRecordTypes),
+                              /*isPacked=*/true);
   }
 
   llvm::Constant *FunctionRecordVals[] = {