From: Justin Bogner Date: Thu, 2 Jul 2015 20:47:25 +0000 (+0000) Subject: InstrProf: Add a comment to clarify an argument X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e06d40075e50561bbf5ec1c92828230a81f3ed6f;p=clang InstrProf: Add a comment to clarify an argument git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241296 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CoverageMappingGen.cpp b/lib/CodeGen/CoverageMappingGen.cpp index e4fe203ffd..2467143faf 100644 --- a/lib/CodeGen/CoverageMappingGen.cpp +++ b/lib/CodeGen/CoverageMappingGen.cpp @@ -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[] = {