commit | d195eb6b83c2f3c70c9d1a59e26e8d6d2a3d38d3 | [log] [tgz] |
---|---|---|
author | Bill Wendling <isanbard@gmail.com> | Mon Mar 18 23:04:39 2013 +0000 |
committer | Bill Wendling <isanbard@gmail.com> | Mon Mar 18 23:04:39 2013 +0000 |
tree | 086ecad3999a37d8960abbfdb9ef72e149d1b5fa | |
parent | 4a8dbb7da30bfe389ac5470cba98035451f329da [diff] |
Register the flush function for each compile unit. For each compile unit, we want to register a function that will flush that compile unit. Otherwise, __gcov_flush() would only flush the counters within the current compile unit, and not any outside of it. PR15191 & <rdar://problem/13167507> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177340 91177308-0d34-0410-b5e6-96231b3b80d8