Author: wanglei
Date: 2026-07-11T16:13:51+08:00
New Revision: ced9fa35844724063b20d4b0d67a7960247c8067

URL: 
https://github.com/llvm/llvm-project/commit/ced9fa35844724063b20d4b0d67a7960247c8067
DIFF: 
https://github.com/llvm/llvm-project/commit/ced9fa35844724063b20d4b0d67a7960247c8067.diff

LOG: [clang][test] Fix emulated-tls.cpp failure on LoongArch (#208886)

The LoongArch backend does not support emulated TLS, so
mark the test as unsupported to fix the LoongArch buildbot
failure.

Failure: https://lab.llvm.org/staging/#/builders/20/builds/28875

Added: 
    

Modified: 
    clang/test/Interpreter/emulated-tls.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/Interpreter/emulated-tls.cpp 
b/clang/test/Interpreter/emulated-tls.cpp
index 73afe172ef6d9..bd80b65957ee3 100644
--- a/clang/test/Interpreter/emulated-tls.cpp
+++ b/clang/test/Interpreter/emulated-tls.cpp
@@ -1,6 +1,9 @@
 // REQUIRES: host-supports-jit
 // UNSUPPORTED: system-windows
 //
+// Emulated TLS is not supported by the LoongArch backend.
+// UNSUPPORTED: target=loongarch{{.*}}
+//
 // An inline function that odr-uses a non-zero-initialized thread_local is
 // emitted as a weak (linkonce_odr) definition into every 
PartialTranslationUnit
 // that references it. With emulated TLS that set includes an __emutls_t.<var>


        
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to