Author: Michael Buch
Date: 2026-01-22T13:25:24Z
New Revision: ec28be3ccac432ea6a45eca67249b209be216c0a

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

LOG: [lldb][test] TestDataFormatterLibcxxOptionalSimulator.py: skip on older 
Clang versions

Added: 
    

Modified: 
    
lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/optional/TestDataFormatterLibcxxOptionalSimulator.py

Removed: 
    


################################################################################
diff  --git 
a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/optional/TestDataFormatterLibcxxOptionalSimulator.py
 
b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/optional/TestDataFormatterLibcxxOptionalSimulator.py
index 7463f8897901f..75c61882e77f4 100644
--- 
a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/optional/TestDataFormatterLibcxxOptionalSimulator.py
+++ 
b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/optional/TestDataFormatterLibcxxOptionalSimulator.py
@@ -47,14 +47,7 @@ def _run_test(self, defines):
     name = f"test_r{r}"
     defines = [f"REVISION={r}"]
 
-    # LLDB's FormatterCache caches on DW_AT_name. A change introduced in
-    # clang-17 (commit bee886052) changed the contents of DW_AT_name for
-    # template specializations, which broke FormatterCache assumptions
-    # causing this test to fail. This was reverted in newer version of clang
-    # with commit 52a9ba7ca.
-    @skipIf(compiler="clang", compiler_version=["=", "17"])
-    @skipIf(compiler="clang", compiler_version=["=", "18"])
-    @skipIf(compiler="clang", compiler_version=["=", "19"])
+    @skipIf(compiler="clang", compiler_version=["<", "21"])
     @functools.wraps(LibcxxOptionalDataFormatterSimulatorTestCase._run_test)
     def test_method(self, defines=defines):
         LibcxxOptionalDataFormatterSimulatorTestCase._run_test(self, defines)


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

Reply via email to