diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-06-01 23:14:32 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-06-01 23:14:32 +0000 |
commit | 4a8fefaf8303f30514bc2a40d840a1709dae65cf (patch) | |
tree | c6063be70b9aeedb966fba17cf002cfd554151b9 /lib/CodeGen/MachineCopyPropagation.cpp | |
parent | 0984461dfb329c8e43ca70e264f56cd39bbae573 (diff) |
Register the gcov "writeout" at init time. Don't list this as a d'tor. Instead,
inject some code in that will run via the "__mod_init_func" method that
registers the gcov "writeout" function to execute at exit time.
The problem is that the "__mod_term_func" method of specifying d'tors is
deprecated on Darwin. And it can lead to some ambiguities when dealing with
multiple libraries.
<rdar://problem/11110106>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157852 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions