r241296 - InstrProf: Add a comment to clarify an argument

Justin Bogner mail at justinbogner.com
Thu Jul 2 13:47:25 PDT 2015


Author: bogner
Date: Thu Jul  2 15:47:25 2015
New Revision: 241296

URL: http://llvm.org/viewvc/llvm-project?rev=241296&view=rev
Log:
InstrProf: Add a comment to clarify an argument

Modified:
    cfe/trunk/lib/CodeGen/CoverageMappingGen.cpp

Modified: cfe/trunk/lib/CodeGen/CoverageMappingGen.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CoverageMappingGen.cpp?rev=241296&r1=241295&r2=241296&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CoverageMappingGen.cpp (original)
+++ cfe/trunk/lib/CodeGen/CoverageMappingGen.cpp Thu Jul  2 15:47:25 2015
@@ -932,7 +932,8 @@ void CoverageMappingModuleGen::addFuncti
   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[] = {





More information about the cfe-commits mailing list