llvm-project/llvm/lib/Transforms/Instrumentation
Bill Wendling e85f34969e 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>

llvm-svn: 157852
2012-06-01 23:14:32 +00:00
..
AddressSanitizer.cpp [asan] instrument cmpxchg and atomicrmw 2012-05-30 09:04:06 +00:00
CMakeLists.txt [asan] rename class BlackList to FunctionBlackList and move it into a separate file -- we will need the same functionality in ThreadSanitizer 2012-03-14 23:22:10 +00:00
EdgeProfiling.cpp land David Blaikie's patch to de-constify Type, with a few tweaks. 2011-07-18 04:54:35 +00:00
FunctionBlackList.cpp [asan] rename class BlackList to FunctionBlackList and move it into a separate file -- we will need the same functionality in ThreadSanitizer 2012-03-14 23:22:10 +00:00
FunctionBlackList.h [asan] rename class BlackList to FunctionBlackList and move it into a separate file -- we will need the same functionality in ThreadSanitizer 2012-03-14 23:22:10 +00:00
GCOVProfiling.cpp Register the gcov "writeout" at init time. Don't list this as a d'tor. Instead, 2012-06-01 23:14:32 +00:00
Instrumentation.cpp ThreadSanitizer, a race detector. First LLVM commit. 2012-02-13 22:50:51 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
Makefile
MaximumSpanningTree.h Fix typos. Adjust some whitespace for style. No functionality change. 2011-04-05 20:39:27 +00:00
OptimalEdgeProfiling.cpp Remove all remaining uses of Value::getNameStr(). 2011-11-15 16:27:03 +00:00
PathProfiling.cpp Remove all remaining uses of Value::getNameStr(). 2011-11-15 16:27:03 +00:00
ProfilingUtils.cpp When inserting new instructions, use getFirstInsertionPt instead of 2011-08-25 01:08:34 +00:00
ProfilingUtils.h Add a function for profiling to run at shutdown. Unlike the existing API, this 2011-04-08 22:19:52 +00:00
ThreadSanitizer.cpp [tsan] typo and style (thanks to Nick Lewycky) 2012-05-02 13:12:19 +00:00