diff options
| author | Hans Wennborg <hans@hanshq.net> | 2012-08-01 18:53:19 +0000 |
|---|---|---|
| committer | Hans Wennborg <hans@hanshq.net> | 2012-08-01 18:53:19 +0000 |
| commit | 12417318039bcdaed36cb1060cddba27790515c7 (patch) | |
| tree | af1d6cc3aa0593dec7ba7b8b3a307260607560fd /clang/lib/Basic | |
| parent | 7e6d4e5a11074535916669f83f5894ac0af495c8 (diff) | |
| download | bcm5719-llvm-12417318039bcdaed36cb1060cddba27790515c7.tar.gz bcm5719-llvm-12417318039bcdaed36cb1060cddba27790515c7.zip | |
TLS is not supported on OpenBSD
This fixes PR13502 and adds a test to keep track of which
targets support TLS and which do not.
llvm-svn: 161124
Diffstat (limited to 'clang/lib/Basic')
| -rw-r--r-- | clang/lib/Basic/Targets.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp index 193241361da..171a857a6a6 100644 --- a/clang/lib/Basic/Targets.cpp +++ b/clang/lib/Basic/Targets.cpp @@ -373,6 +373,7 @@ public: OpenBSDTargetInfo(const std::string &triple) : OSTargetInfo<Target>(triple) { this->UserLabelPrefix = ""; + this->TLSSupported = false; llvm::Triple Triple(triple); switch (Triple.getArch()) { |

