https://github.com/cyndyishida created https://github.com/llvm/llvm-project/pull/141170
None >From 845121fefce0243426d640989f6fdc7008f0b2ef Mon Sep 17 00:00:00 2001 From: Cyndy Ishida <cyndy_ish...@apple.com> Date: Thu, 22 May 2025 17:58:00 -0700 Subject: [PATCH] [clang][Darwin] Add test checking for tls support on xros target triples --- clang/test/Sema/darwin-tls.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clang/test/Sema/darwin-tls.c b/clang/test/Sema/darwin-tls.c index 9a41c5c6a995a..4f80cb72779d8 100644 --- a/clang/test/Sema/darwin-tls.c +++ b/clang/test/Sema/darwin-tls.c @@ -13,6 +13,8 @@ // RUN: %clang_cc1 -fsyntax-only -Wno-error=implicit-int -triple thumbv7k-apple-watchos2.0 %s 2>&1 | FileCheck %s --check-prefix TLS // RUN: not %clang_cc1 -fsyntax-only -triple i386-apple-watchos2.0-simulator %s 2>&1 | FileCheck %s --check-prefix NO-TLS // RUN: %clang_cc1 -fsyntax-only -Wno-error=implicit-int -triple i386-apple-watchos3.0-simulator %s 2>&1 | FileCheck %s --check-prefix TLS +// RUN: %clang_cc1 -fsyntax-only -Wno-error=implicit-int -triple arm64-apple-xros %s 2>&1 | FileCheck %s --check-prefix TLS +// RUN: %clang_cc1 -fsyntax-only -Wno-error=implicit-int -triple arm64-apple-xros-simulator %s 2>&1 | FileCheck %s --check-prefix TLS __thread int a; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits