Don't emit the extra checksum into the .gcda file if the user hasn't asked for
authorNick Lewycky <nicholas@mxc.ca>
Sat, 9 Mar 2013 01:33:06 +0000 (01:33 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 9 Mar 2013 01:33:06 +0000 (01:33 +0000)
commit17d2f776011cba33f7f5afb03c8066d35dbf8afc
tree5b8e64958b648d1c714174aebdc5bfe092b5ea2c
parent24babfd2346a663fa694fcfe4eb69822268035c4
Don't emit the extra checksum into the .gcda file if the user hasn't asked for
it. Fortunately, versions of gcov that predate the extra checksum also ignore
any extra data, so this isn't a problem. There will be a matching commit in
compiler-rt.

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