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)
commitd0b9f090fbca709e73d631c7c4cd06f0f3bb0e0d
tree4359ed93ef3ac909f56132f63c1aff5bf2181647
parent9952b674caf57e6cd13cefc30f827107de2a0a06
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!

llvm-svn: 167576
clang/lib/Basic/Targets.cpp
clang/test/Sema/tls.c