summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBrad Smith <brad@comstyle.com>2017-07-17 00:49:31 +0000
committerBrad Smith <brad@comstyle.com>2017-07-17 00:49:31 +0000
commit6a9e1d4eeb7e6ed9645b31c645c59c45e858dfeb (patch)
treef238e7e083992d130399a1284b7f5e4f42a32f84 /test
parentbb80e4561494419619dcc16e9c5f5135550c609a (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.cpp4
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"