Switch from a version 4.2/4.4 switch to a four-byte version string to be put
authorNick Lewycky <nicholas@mxc.ca>
Thu, 7 Mar 2013 08:28:49 +0000 (08:28 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Thu, 7 Mar 2013 08:28:49 +0000 (08:28 +0000)
commitd9686a98b8145010516c44a3a5b9b96bf934b9ac
treefa706bcc832e554f6c0f530289b70b20cb158ca2
parent4d895455fe1bcc0bbfe1a0f18c01246694f64a9c
Switch from a version 4.2/4.4 switch to a four-byte version string to be put
into the actual gcov file.

Instead of using the bottom 4 bytes as the function identifier, use a counter.
This makes the identifier numbers stable across multiple runs.

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