[Lldb-commits] [lldb] 7de53a8 - [lldb][test] TestConstStaticIntegralMember.py: un-XFAIL tests for DWARFv5

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Thu Dec 7 03:38:50 PST 2023


Author: Michael Buch
Date: 2023-12-07T11:38:26Z
New Revision: 7de53a8cfe45f60334dc3765c0bfc94beaf09883

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

LOG: [lldb][test] TestConstStaticIntegralMember.py: un-XFAIL tests for DWARFv5

Added: 
    

Modified: 
    lldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py b/lldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py
index 60e116b422077..cdade2d335df0 100644
--- a/lldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py
+++ b/lldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py
@@ -104,7 +104,7 @@ def test(self):
 
     # dsymutil strips the debug info for classes that only have const static
     # data members without locations.
-    @expectedFailureAll(debug_info=["dsym"])
+    @expectedFailureAll(debug_info=["dsym"], dwarf_version=["<", "5"])
     def test_class_with_only_const_static(self):
         self.build()
         lldbutil.run_to_source_breakpoint(
@@ -120,6 +120,9 @@ def check_global_var(self, name: str, expect_type, expect_val):
         self.assertEqual(varobj.type.name, expect_type)
         self.assertEqual(varobj.value, expect_val)
 
+    @expectedFailureAll(dwarf_version=["<", "5"])
+    # On linux this passes due to the manual index
+    @expectedFailureDarwin(debug_info=no_match(["dsym"]))
     def test_inline_static_members(self):
         self.build()
         lldbutil.run_to_source_breakpoint(
@@ -167,6 +170,9 @@ def test_class_with_only_constexpr_static(self):
             "ClassWithEnumAlias::enum_alias_alias", result_value="scoped_enum_case1"
         )
 
+    @expectedFailureAll(dwarf_version=["<", "5"])
+    # On linux this passes due to the manual index
+    @expectedFailureDarwin(debug_info=no_match(["dsym"]))
     def test_shadowed_static_inline_members(self):
         """Tests that the expression evaluator and SBAPI can both
         correctly determine the requested inline static variable


        


More information about the lldb-commits mailing list