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)
commit492afe8127f88c37c9c346b15f0a36bec9b82c08
tree6d4b236703f7abe826d26b26ec08ba71fb2f02ed
parent40cda80af86233cbed5bc3e31a50f57f9f954d63
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.

llvm-svn: 176616
llvm/include/llvm/Transforms/Instrumentation.h
llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp