[Lldb-commits] [lldb] [lldb] Change synthetic symbol names to have file address (PR #137512)

Felipe de Azevedo Piovezan via lldb-commits lldb-commits at lists.llvm.org
Thu May 1 18:23:22 PDT 2025


felipepiovezan wrote:

@eronnen I believe this is breaking the macOS bots, on the test TestFoundationDisassembly.py

```
17:54:59  FAIL: test_foundation_disasm (TestFoundationDisassembly.FoundationDisassembleTestCase)
17:54:59     Do 'disassemble -n func' on each and every 'Code' symbol entry from the Foundation.framework.
17:54:59  ----------------------------------------------------------------------
17:54:59  Traceback (most recent call last):
17:54:59    File "/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 148, in wrapper
17:54:59      return func(*args, **kwargs)
17:54:59    File "/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/test/API/lang/objc/foundation/TestFoundationDisassembly.py", line 58, in test_foundation_disasm
17:54:59      self.runCmd('image lookup -s "%s"' % func)
17:54:59    File "/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1005, in runCmd
17:54:59      self.assertTrue(self.res.Succeeded(), msg + output)
17:54:59  AssertionError: False is not true : Command 'image lookup -s "___lldb_unnamed_symbol_1816dd9c0"' did not return successfully
17:54:59  Config=arm64-/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/bin/clang
17:54:59  ======================================================================
17:54:59  FAIL: test_foundation_disasm (TestFoundationDisassembly.FoundationDisassembleTestCase)
17:54:59     Do 'disassemble -n func' on each and every 'Code' symbol entry from the Foundation.framework.
17:54:59  ----------------------------------------------------------------------
17:54:59  Traceback (most recent call last):
17:54:59    File "/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2065, in tearDown
17:54:59      Base.tearDown(self)
17:54:59    File "/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1134, in tearDown
17:54:59      self.assertEqual(lldb.SBModule.GetNumberAllocatedModules(), 0)
17:54:59  AssertionError: 1 != 0
17:54:59  Config=arm64-/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/bin/clang
17:54:59  ----------------------------------------------------------------------
17:54:59  Ran 2 tests in 80.091s
17:54:59  
17:54:59  FAILED (failures=2)
17:54:59  
```

https://github.com/llvm/llvm-project/pull/137512


More information about the lldb-commits mailing list