[Lldb-commits] [lldb] ff5a737 - [lldb][test] TestFrameVarDILGlobalVariableLookup: only XFAIL earlier DWARF versions on macOS

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 27 03:58:36 PDT 2025


Author: Michael Buch
Date: 2025-10-27T10:58:16Z
New Revision: ff5a7370c81799cb9cffb05d5fb3cc848412cc25

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

LOG: [lldb][test] TestFrameVarDILGlobalVariableLookup: only XFAIL earlier DWARF versions on macOS

On Linux we would use the manual DWARF index and the failing test assertion (see `c40b6904751da529a0436faf72d5d63d35484689`) would still pass.

Added: 
    

Modified: 
    lldb/test/API/commands/frame/var-dil/basics/GlobalVariableLookup/TestFrameVarDILGlobalVariableLookup.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/commands/frame/var-dil/basics/GlobalVariableLookup/TestFrameVarDILGlobalVariableLookup.py b/lldb/test/API/commands/frame/var-dil/basics/GlobalVariableLookup/TestFrameVarDILGlobalVariableLookup.py
index 6d12e4c460983..4d55767ad4fab 100644
--- a/lldb/test/API/commands/frame/var-dil/basics/GlobalVariableLookup/TestFrameVarDILGlobalVariableLookup.py
+++ b/lldb/test/API/commands/frame/var-dil/basics/GlobalVariableLookup/TestFrameVarDILGlobalVariableLookup.py
@@ -19,7 +19,10 @@ class TestFrameVarDILGlobalVariableLookup(TestBase):
     NO_DEBUG_INFO_TESTCASE = True
 
     @skipIf(macos_version=["<", "15.0"], archs=["arm64", "arm64e"])
-    @expectedFailureAll(dwarf_version=["<", "5"])
+    @expectedFailureAll(
+        dwarf_version=["<", "5"],
+        oslist=[lldbplatformutil.getDarwinOSTriples()],
+    )
     @expectedFailureAll(
         compiler="clang",
         compiler_version=["<", "19.0"],


        


More information about the lldb-commits mailing list