]> granicus.if.org Git - clang/commit
Set TLSSupported to false on Haiku.
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 8 Nov 2012 12:59:15 +0000 (12:59 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 8 Nov 2012 12:59:15 +0000 (12:59 +0000)
commitef7bceadf4b43c953855013577afac4c2fcb1d62
tree1ba7c5f0345f21a8ebe1ee4533f2d3c0099a651c
parentd2a527eae6df377b326e8d764782bc34f1e64189
Set TLSSupported to false on Haiku.

Haiku does not support this (yet). Leaving it set to true leads to
configure scripts detecting __thread being available and Clang emitting
code for it, resulting in binaries the runtime_loader will refuse to
load.

Patch by Jonathan Schleifer!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167576 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets.cpp
test/Sema/tls.c