forked from OSchip/llvm-project
51a6ff5799
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 |
||
---|---|---|
.. | ||
usr/include | ||
README.txt |
README.txt
The Darwin platforms are all similar enough we roll them into one SDK, and use preprocessor tricks to get the right definitions for the few things which diverge between OS X and iOS.