summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/tls-init-funcs.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use the Itanium ABI for thread_local on Darwin.Bill Wendling2013-05-021-0/+10
| | | | | | | | | | | After some discussion, it was decided to use the Itanium ABI for thread_local on Darwin OS X platforms. This involved a couple of changes. First, we use "_tlv_atexit" instead of "__cxa_thread_atexit". Secondly, the global variables are marked with 'internal' linkage, because we want all access to be calls to the Itanium-specific entry point, which has normal linkage. <rdar://problem/13733006> llvm-svn: 180941
* Revert r180739 and r180748: they broke C++11 thread_local on non-Darwin ↵Richard Smith2013-04-301-21/+0
| | | | | | | | | | | | | | | | systems and did not do the right thing on Darwin. Original commit message: Emit the TLS intialization functions into a list. Add the TLS initialization functions to a list of initialization functions. The back-end takes this list and places the function pointers into the correct section. This way they're called before `main().' <rdar://problem/13733006> llvm-svn: 180809
* Modify triple to try to make it pass on ARM.Bill Wendling2013-04-291-2/+2
| | | | llvm-svn: 180748
* Emit the TLS intialization functions into a list.Bill Wendling2013-04-291-0/+21
Add the TLS initialization functions to a list of initialization functions. The back-end takes this list and places the function pointers into the correct section. This way they're called before `main().' <rdar://problem/13733006> llvm-svn: 180739
OpenPOWER on IntegriCloud