[Lldb-commits] [lldb] [lldb][NFC] Use early returns in ObjCLanguageRuntime::GetDescriptorIterator (PR #197415)

Felipe de Azevedo Piovezan via lldb-commits lldb-commits at lists.llvm.org
Wed May 13 04:05:10 PDT 2026


felipepiovezan wrote:

```
2026-05-13T10:55:46.1026645Z FAIL: test_runInTerminal (TestDAP_runInTerminal.TestDAP_runInTerminal.test_runInTerminal)
2026-05-13T10:55:46.1027198Z    Tests the "runInTerminal" reverse request. It makes sure that the IDE can
2026-05-13T10:55:46.1027696Z ----------------------------------------------------------------------
2026-05-13T10:55:46.1028178Z Traceback (most recent call last):
2026-05-13T10:55:46.1028699Z   File "/__w/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 160, in wrapper
2026-05-13T10:55:46.1029234Z     return func(*args, **kwargs)
2026-05-13T10:55:46.1029517Z            ^^^^^^^^^^^^^^^^^^^^^
2026-05-13T10:55:46.1030129Z   File "/__w/llvm-project/llvm-project/lldb/test/API/tools/lldb-dap/runInTerminal/TestDAP_runInTerminal.py", line 136, in test_runInTerminal
2026-05-13T10:55:46.1030801Z     self.set_source_breakpoints(source, [breakpoint_line])
2026-05-13T10:55:46.1031470Z   File "/__w/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py", line 87, in set_source_breakpoints
2026-05-13T10:55:46.1032139Z     return self.set_source_breakpoints_from_source(
2026-05-13T10:55:46.1032474Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-05-13T10:55:46.1033168Z   File "/__w/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py", line 114, in set_source_breakpoints_from_source
2026-05-13T10:55:46.1044868Z     self.wait_for_breakpoints_to_resolve(breakpoint_ids)
2026-05-13T10:55:46.1046108Z   File "/__w/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py", line 139, in wait_for_breakpoints_to_resolve
2026-05-13T10:55:46.1046826Z     self.assertEqual(
2026-05-13T10:55:46.1047232Z AssertionError: 1 != 0 : Expected to resolve all breakpoints. Unresolved breakpoint ids: [1]
2026-05-13T10:55:46.1047820Z Config=aarch64-/__w/llvm-project/llvm-project/build/bin/clang
2026-05-13T10:55:46.1048232Z ----------------------------------------------------------------------
2026-05-13T10:55:46.1048585Z Ran 9 tests in 7.689s
```

@da-viper  seems like dap tests are striking again! :P 

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


More information about the lldb-commits mailing list