[lldb] [llvm] [lldb] Fix GetIndexOfChildWithName on register sets (PR #212727)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 29 03:12:33 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 33392 tests passed
* 906 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### lldb-api
<details>
<summary>lldb-api.python_api/value/TestValueAPI.py</summary>
```
Script:
--
C:/Python312/python.exe C:/_work/llvm-project/llvm-project/lldb\test\API\dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=C:/_work/llvm-project/llvm-project/build/./lib --env LLVM_INCLUDE_DIR=C:/_work/llvm-project/llvm-project/build/include --env LLVM_TOOLS_DIR=C:/_work/llvm-project/llvm-project/build/./bin --triple x86_64-pc-windows-msvc --build-dir C:/_work/llvm-project/llvm-project/build/lldb-test-build --lldb-module-cache-dir C:/_work/llvm-project/llvm-project/build/lldb-test-build/module-cache-lldb\lldb-api --clang-module-cache-dir C:/_work/llvm-project/llvm-project/build/lldb-test-build/module-cache-clang\lldb-api --executable C:/_work/llvm-project/llvm-project/build/./bin/lldb.exe --lldb-python-dir C:\_work\llvm-project\llvm-project\build\Lib\site-packages --compiler C:/_work/llvm-project/llvm-project/build/./bin/clang.exe --dsymutil C:/_work/llvm-project/llvm-project/build/./bin/dsymutil.exe --make C:/ProgramData/chocolatey/bin/make.exe --llvm-tools-dir C:/_work/llvm-project/llvm-project/build/./bin --lldb-obj-root C:/_work/llvm-project/llvm-project/build/tools/lldb --lldb-libs-dir C:/_work/llvm-project/llvm-project/build/./lib --cmake-build-type Release --env LLDB_LAUNCH_FLAG_USE_PIPES=1 C:\_work\llvm-project\llvm-project\lldb\test\API\python_api\value -p TestValueAPI.py
--
Exit Code: 1
Command Output (stdout):
--
Skipping the following test categories: libc++, libstdcxx, dwo, dsym, gmodules, debugserver, objc, fork, pexpect
--
Command Output (stderr):
--
UNSUPPORTED: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_dsym (TestValueAPI.ValueAPITestCase.test_dsym) (test case does not fall in any category of interest for this run)
XFAIL: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_dwarf (TestValueAPI.ValueAPITestCase.test_dwarf)
Log Files:
- C:\_work\llvm-project\llvm-project\build\lldb-test-build\python_api\value\TestValueAPI.test_dwarf\ExpectedFailure_test_dwarf.log
UNSUPPORTED: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_dwo (TestValueAPI.ValueAPITestCase.test_dwo) (test case does not fall in any category of interest for this run)
FAIL: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_register (TestValueAPI.ValueAPITestCase.test_register)
Log Files:
- C:\_work\llvm-project\llvm-project\build\lldb-test-build\python_api\value\TestValueAPI.test_register\Failure_test_register.log
======================================================================
FAIL: test_register (TestValueAPI.ValueAPITestCase.test_register)
Test SBValue APIs when the values are backed by registers.
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\decorators.py", line 616, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\_work\llvm-project\llvm-project\lldb\test\API\python_api\value\TestValueAPI.py", line 326, in test_register
self.assertEqual(child_idx, child_with_name_idex)
AssertionError: 41 != 7
Config=x86_64-C:\_work\llvm-project\llvm-project\build\bin\clang.exe
----------------------------------------------------------------------
Ran 4 tests in 2.340s
FAILED (failures=1, skipped=2, expected failures=1)
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/212727
More information about the llvm-commits
mailing list