r179858 - Implement CodeGen for C++11 thread_local, following the Itanium ABI specification as discussed on cxx-abi-dev.

Joerg Sonnenberger joerg at britannica.bec.de
Sun Apr 21 13:06:50 PDT 2013


On Fri, Apr 19, 2013 at 04:42:07PM -0000, Richard Smith wrote:
> Author: rsmith
> Date: Fri Apr 19 11:42:07 2013
> New Revision: 179858
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=179858&view=rev
> Log:
> Implement CodeGen for C++11 thread_local, following the Itanium ABI
> specification as discussed on cxx-abi-dev.

This doesn't work correctly. C input:
	__thread gomp_tls_data;

nm on the output before:
0000000000000000 B gomp_tls_data

nm on the output after this change:
                 U _GLOBAL_OFFSET_TABLE_
0000000000000000 B gomp_tls_data
0000000000000000 W _ZTW13gomp_tls_data

Joerg



More information about the cfe-commits mailing list