diff options
author | Brad Smith <brad@comstyle.com> | 2017-07-17 00:49:31 +0000 |
---|---|---|
committer | Brad Smith <brad@comstyle.com> | 2017-07-17 00:49:31 +0000 |
commit | 6a9e1d4eeb7e6ed9645b31c645c59c45e858dfeb (patch) | |
tree | f238e7e083992d130399a1284b7f5e4f42a32f84 /test | |
parent | bb80e4561494419619dcc16e9c5f5135550c609a (diff) |
Enable TLS support on OpenBSD, but default to the emulatated TLS model.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@308155 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Driver/emulated-tls.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Driver/emulated-tls.cpp b/test/Driver/emulated-tls.cpp index a18c2e220b..38edc98ac8 100644 --- a/test/Driver/emulated-tls.cpp +++ b/test/Driver/emulated-tls.cpp @@ -1,5 +1,7 @@ -// Cygwin uses emutls. Clang should pass -femulated-tls to cc1 and cc1 should pass EmulatedTLS to LLVM CodeGen. +// Cygwin and OpenBSD use emutls. Clang should pass -femulated-tls to cc1 +// and cc1 should pass EmulatedTLS to LLVM CodeGen. // FIXME: Add more targets here to use emutls. // RUN: %clang -### -std=c++11 -target i686-pc-cygwin %s 2>&1 | FileCheck %s +// RUN: %clang -### -std=c++11 -target i686-pc-openbsd %s 2>&1 | FileCheck %s // CHECK: "-cc1" {{.*}}"-femulated-tls" |