[clang] 835bba9 - [clang][Darwin] Add test checking for tls support on xros target triples (#141170)
via cfe-commits
cfe-commits at lists.llvm.org
Thu May 22 21:44:38 PDT 2025
Author: Cyndy Ishida
Date: 2025-05-22T21:44:34-07:00
New Revision: 835bba973d7a5f539967cdae2dc4bd3fc4a904f9
URL: https://github.com/llvm/llvm-project/commit/835bba973d7a5f539967cdae2dc4bd3fc4a904f9
DIFF: https://github.com/llvm/llvm-project/commit/835bba973d7a5f539967cdae2dc4bd3fc4a904f9.diff
LOG: [clang][Darwin] Add test checking for tls support on xros target triples (#141170)
Added:
Modified:
clang/test/Sema/darwin-tls.c
Removed:
################################################################################
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;
More information about the cfe-commits
mailing list