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 | 733fe193d301d78e2ce2279d042ee2859c8a3f74 (patch) | |
tree | fd55ad822c1738ee4f135f63c502a3d45e858d7c /clang/test/Driver/emulated-tls.cpp | |
parent | a210f1d7bfd8594c69d061396a4c3f1fc6edca2a (diff) | |
download | bcm5719-llvm-733fe193d301d78e2ce2279d042ee2859c8a3f74.tar.gz bcm5719-llvm-733fe193d301d78e2ce2279d042ee2859c8a3f74.zip |
Enable TLS support on OpenBSD, but default to the emulatated TLS model.
llvm-svn: 308155
Diffstat (limited to 'clang/test/Driver/emulated-tls.cpp')
-rw-r--r-- | clang/test/Driver/emulated-tls.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/test/Driver/emulated-tls.cpp b/clang/test/Driver/emulated-tls.cpp index a18c2e220bf..38edc98ac88 100644 --- a/clang/test/Driver/emulated-tls.cpp +++ b/clang/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" |