2017-07-17 08:49:31 +08:00
|
|
|
// Cygwin and OpenBSD use emutls. Clang should pass -femulated-tls to cc1
|
|
|
|
// and cc1 should pass EmulatedTLS to LLVM CodeGen.
|
2016-01-16 11:44:52 +08:00
|
|
|
// FIXME: Add more targets here to use emutls.
|
|
|
|
// RUN: %clang -### -std=c++11 -target i686-pc-cygwin %s 2>&1 | FileCheck %s
|
2017-07-17 08:49:31 +08:00
|
|
|
// RUN: %clang -### -std=c++11 -target i686-pc-openbsd %s 2>&1 | FileCheck %s
|
2016-01-16 11:44:52 +08:00
|
|
|
|
|
|
|
// CHECK: "-cc1" {{.*}}"-femulated-tls"
|