Author: Michael Buch Date: 2025-10-27T10:14:44Z New Revision: c40b6904751da529a0436faf72d5d63d35484689
URL: https://github.com/llvm/llvm-project/commit/c40b6904751da529a0436faf72d5d63d35484689 DIFF: https://github.com/llvm/llvm-project/commit/c40b6904751da529a0436faf72d5d63d35484689.diff LOG: [lldb][test] TestFrameVarDILGlobalVariableLookup: skip for older DWARF versions Test fails on the DWARFv2 and DWARFv5 macOS bot with: ``` 07:00:39 FAIL: test_frame_var (TestFrameVarDILGlobalVariableLookup.TestFrameVarDILGlobalVariableLookup) 07:00:39 ---------------------------------------------------------------------- 07:00:39 Traceback (most recent call last): 07:00:39 File "/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 156, in wrapper 07:00:39 return func(*args, **kwargs) 07:00:39 File "/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-matrix/llvm-project/lldb/test/API/commands/frame/var-dil/basics/GlobalVariableLookup/TestFrameVarDILGlobalVariableLookup.py", line 48, in test_frame_var 07:00:39 self.expect_var_path("ExtStruct::static_inline", value="16") 07:00:39 File "/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2599, in expect_var_path 07:00:39 value_check.check_value(self, eval_result, str(eval_result)) 07:00:39 File "/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 302, in check_value 07:00:39 test_base.assertSuccess(val.GetError()) 07:00:39 File "/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2607, in assertSuccess 07:00:39 self.fail(self._formatMessage(msg, "'{}' is not success".format(error))) 07:00:39 AssertionError: '<user expression 0>:1:1: use of undeclared identifier 'ExtStruct::static_inline' 07:00:39 1 | ExtStruct::static_inline 07:00:39 | ^' is not success 07:00:39 Config=arm64-/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-matrix/lldb-build/bin/clang ``` Possibly something to do with accelerator table differences between the versions. 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 9cb166e3d0dc1..c79e68009ba7f 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,6 +19,7 @@ class TestFrameVarDILGlobalVariableLookup(TestBase): NO_DEBUG_INFO_TESTCASE = True @skipIf(macos_version=["<", "15.0"], archs=["arm64", "arm64e"]) + @expectedFailureAll(dwarf_version=["<", "5"]) def test_frame_var(self): self.build() lldbutil.run_to_source_breakpoint( _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
