diff options
author | Hans Wennborg <hans@hanshq.net> | 2012-08-29 08:44:49 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2012-08-29 08:44:49 +0000 |
commit | 299f50b4e871d8b9769d74a8c831ce0166801edf (patch) | |
tree | fc98df5e37bce54a2cfcdedba16c18fbd1d1c0c9 /llvm/lib/Transforms | |
parent | d0d96bfb86fd3035e358f07634552c93315ed8ed (diff) | |
download | bcm5719-llvm-299f50b4e871d8b9769d74a8c831ce0166801edf.tar.gz bcm5719-llvm-299f50b4e871d8b9769d74a8c831ce0166801edf.zip |
The address of a TLS var is not compile-time constant (PR13720)
This makes Clang produce an error for code such as:
__thread int x;
int *p = &x;
The lvalue of a thread-local variable cannot be evaluated at compile
time.
llvm-svn: 162835
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions