llvm-project/compiler-rt/lib/profile
Bill Wendling 51a6ff5799 Create a coverage initialization function.
This function replaces the call of `atexit' from being generated in the compile
units. Basically, it registers the "writeout" and "flush" functions (if
present). It will generate calls to the `atexit' function for cleanups and final
writeout functions, but only once. This is better than checking for `main',
because a library may not have a `main' function in it.
<rdar://problem/12439551>

llvm-svn: 177578
2013-03-20 21:11:47 +00:00
..
CMakeLists.txt Don't use --sysroot to linux SDK when building libprofile - SDK on Linux seems to be incomplete. 2013-03-19 13:34:23 +00:00
GCDAProfiling.c Create a coverage initialization function. 2013-03-20 21:11:47 +00:00
Makefile.mk build: Add ModuleName per-subdir variable as a way to organize the different 2011-12-02 02:42:07 +00:00