Place the "cfg checksum" around a test. This was recently added in April 2011 to
authorNick Lewycky <nicholas@mxc.ca>
Sun, 27 Nov 2011 23:22:20 +0000 (23:22 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sun, 27 Nov 2011 23:22:20 +0000 (23:22 +0000)
commitbba40db07234cef7867b45c67f50632e684cbb15
treec59f684513d3781f5c132c26f05ccb0fe447815c
parent7c224460b67b86828d61f8c57c3d5c6a61a93bbc
Place the "cfg checksum" around a test. This was recently added in April 2011 to
gcc, though I thought it was older (my gcc 4.4 has it as a local patch. Whoops!)
This fixes PR10589.

Also add some debugging statements.

Remove GcnoFiles, the mapping from CompilationUnit to raw_ostream. Now that we
start by iterating over each CU and descending into them, there's no need to
maintain a mapping.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145208 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/GCOVProfiling.cpp