When a function has a single counter, we will offset the pointer by 1 when
parsing the next function. If a function has multiple counters, we are
okay after skipping rest of the counters.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201456
91177308-0d34-0410-b5e6-
96231b3b80d8
ReportBadPGOData(CGM, "pgo-data file has bad count value");
return;
}
- CurPtr = EndPtr + 1;
+ CurPtr = EndPtr; // Point to '\n'.
FunctionCounts[MangledName] = Count;
MaxCount = Count > MaxCount ? Count : MaxCount;
2
2
+issue_with_one_counter 1
+0
+
boolean_operators 10
1
100