llvm-6502/test/Transforms/GCOVProfiling
Justin Bogner 03e3dfd20a GCOV: Make sure that function idents in the .gcda and .gcno match
When generating gcov compatible profiling, we sometimes skip emitting
data for functions for one reason or another. However, this was
emitting different function IDs in the .gcno and .gcda files, because
the .gcno case was using the loop index before skipping functions and
the .gcda the array index after. This resulted in completely invalid
gcov data.

This fixes the problem by making the .gcno loop track the ID
separately from the loop index.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221441 91177308-0d34-0410-b5e6-96231b3b80d8
2014-11-06 06:55:02 +00:00
..
function-numbering.ll GCOV: Make sure that function idents in the .gcda and .gcno match 2014-11-06 06:55:02 +00:00
global-ctor.ll llvm/test/Transforms/GCOVProfiling: Avoid to parse backslashes in MDString. Use %/T instead of %T. 2014-11-05 06:29:05 +00:00
linezero.ll llvm/test/Transforms/GCOVProfiling/linezero.ll: Use %/T instead of %T in regex. This works on win32. 2014-11-04 13:00:48 +00:00
linkagename.ll llvm/test/Transforms/GCOVProfiling: Avoid to parse backslashes in MDString. Use %/T instead of %T. 2014-11-05 06:29:05 +00:00
version.ll llvm/test/Transforms/GCOVProfiling: Avoid to parse backslashes in MDString. Use %/T instead of %T. 2014-11-05 06:29:05 +00:00