Use the correct for for the version. It's little endian and my brain is
authorBill Wendling <isanbard@gmail.com>
Tue, 26 Jul 2011 18:31:41 +0000 (18:31 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 26 Jul 2011 18:31:41 +0000 (18:31 +0000)
obviously big endian. :-)
PR10502

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136111 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Instrumentation/GCOVProfiling.cpp

index c6dadcfecb6ad0076acafa97e3790b773e28f302..3a7f21c4ce451a2ff761dd46c12209103e238fcb 100644 (file)
@@ -377,7 +377,7 @@ void GCOVProfiler::emitGCNO(DebugInfoFinder &DIF) {
     if (!Use402Format)
       out->write("oncg*404MVLL", 12);
     else
-      out->write("oncg*402MVLL", 12);
+      out->write("oncg*204MVLL", 12);
   }
 
   for (DebugInfoFinder::iterator SPI = DIF.subprogram_begin(),