Fix bug introduced in r176616 when making function identifier numbers stable.
authorNick Lewycky <nicholas@mxc.ca>
Sat, 9 Mar 2013 02:06:37 +0000 (02:06 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 9 Mar 2013 02:06:37 +0000 (02:06 +0000)
commit8fa6dc431deb7a9aadc23ec0a7bdcb2d02330972
tree7186c83e84c79421b42f81e575c587f68b900f6d
parent17d2f776011cba33f7f5afb03c8066d35dbf8afc
Fix bug introduced in r176616 when making function identifier numbers stable.
Count the subprograms, not the compile units.

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