[Lldb-commits] [lldb] [lldb] Enforce that ArchDefaultUnwindPlans declare other regs unfetch (PR #203684)

via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 15 13:46:23 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 33069 tests passed
* 894 tests skipped
* 2 tests failed

## Failed Tests
(click on a test name to see its output)

### lldb-api
<details>
<summary>lldb-api.functionalities/postmortem/elf-core/TestLinuxCore.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.noindex --lldb-module-cache-dir C:/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-lldb\lldb-api --clang-module-cache-dir C:/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang\lldb-api --executable C:/_work/llvm-project/llvm-project/build/./bin/lldb.exe --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\functionalities\postmortem\elf-core -p TestLinuxCore.py
--
Exit Code: 3

Command Output (stdout):
--
Skipping the following test categories: libc++, libstdcxx, dwo, dsym, gmodules, debugserver, objc, fork, pexpect


--
Command Output (stderr):
--
PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_FPR_SSE (TestLinuxCore.LinuxCoreTestCase.test_FPR_SSE)

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_aarch64 (TestLinuxCore.LinuxCoreTestCase.test_aarch64)

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_aarch64_pac (TestLinuxCore.LinuxCoreTestCase.test_aarch64_pac)

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_aarch64_pac_regs (TestLinuxCore.LinuxCoreTestCase.test_aarch64_pac_regs)

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_aarch64_regs (TestLinuxCore.LinuxCoreTestCase.test_aarch64_regs)

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_aarch64_sve_regs_fpsimd (TestLinuxCore.LinuxCoreTestCase.test_aarch64_sve_regs_fpsimd)

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_aarch64_sve_regs_full (TestLinuxCore.LinuxCoreTestCase.test_aarch64_sve_regs_full)

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_arm_core (TestLinuxCore.LinuxCoreTestCase.test_arm_core)

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_arm_core_vfp (TestLinuxCore.LinuxCoreTestCase.test_arm_core_vfp)

UNSUPPORTED: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_exe_name_extraction_at_execfn (TestLinuxCore.LinuxCoreTestCase.test_exe_name_extraction_at_execfn) (skip on windows) 

UNSUPPORTED: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_exe_name_extraction_nt_file (TestLinuxCore.LinuxCoreTestCase.test_exe_name_extraction_nt_file) (skip on windows) 

UNSUPPORTED: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_exe_name_extraction_nt_prpsinfo (TestLinuxCore.LinuxCoreTestCase.test_exe_name_extraction_nt_prpsinfo) (skip on windows) 

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_get_core_file_api (TestLinuxCore.LinuxCoreTestCase.test_get_core_file_api)

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_i386 (TestLinuxCore.LinuxCoreTestCase.test_i386)

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_i386_sysroot (TestLinuxCore.LinuxCoreTestCase.test_i386_sysroot)

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_is_not_live_debug_session (TestLinuxCore.LinuxCoreTestCase.test_is_not_live_debug_session)

UNSUPPORTED: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_linux_no_exe (TestLinuxCore.LinuxCoreTestCase.test_linux_no_exe) (skip on windows) 

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_loongarch64 (TestLinuxCore.LinuxCoreTestCase.test_loongarch64)

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_loongarch64_regs (TestLinuxCore.LinuxCoreTestCase.test_loongarch64_regs)

UNSUPPORTED: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_object_map (TestLinuxCore.LinuxCoreTestCase.test_object_map) (skipping due to the following parameter(s): host o/s [github.com/llvm/llvm-project/issues/198471]) 

Log Files:

 - C:\_work\llvm-project\llvm-project\build\lldb-test-build.noindex\functionalities\postmortem\elf-core\TestLinuxCore\SkippedTest_test_object_map.log

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_ppc64le (TestLinuxCore.LinuxCoreTestCase.test_ppc64le)

UNSUPPORTED: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_read_memory (TestLinuxCore.LinuxCoreTestCase.test_read_memory) (skip on windows) 

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_read_only_cstring (TestLinuxCore.LinuxCoreTestCase.test_read_only_cstring)

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_riscv32_gpr_csr (TestLinuxCore.LinuxCoreTestCase.test_riscv32_gpr_csr)

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_riscv32_regs_gpr_csr (TestLinuxCore.LinuxCoreTestCase.test_riscv32_regs_gpr_csr)

warning: the .riscv.attributes section contains an invalid RISC-V arch string: unsupported version number 2.0 for extension 'i'
	This could result in misleading disassembler output

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_riscv64_gpr_fpr (TestLinuxCore.LinuxCoreTestCase.test_riscv64_gpr_fpr)

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_riscv64_gpr_only (TestLinuxCore.LinuxCoreTestCase.test_riscv64_gpr_only)

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_riscv64_regs_gpr_fpr (TestLinuxCore.LinuxCoreTestCase.test_riscv64_regs_gpr_fpr)

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_riscv64_regs_gpr_only (TestLinuxCore.LinuxCoreTestCase.test_riscv64_regs_gpr_only)

Assertion failed: arch_default_unwind_plan_sp && arch_default_unwind_plan_sp->GetRowCount() > 0 && arch_default_unwind_plan_sp->GetRowAtIndex(0) ->GetUnspecifiedRegistersAreUndefined() && "Default UnwindPlan must set " "UnspecifiedRegistersAreUndefined to true", file C:\_work\llvm-project\llvm-project\lldb\source\Target\RegisterContextUnwind.cpp, line 824
Windows fatal exception: code 0xc000001d

Current thread 0x00004d74 (most recent call first):
  File "C:\_work\llvm-project\llvm-project\build\Lib\site-packages\lldb\__init__.py", line 15014 in StepOut
  File "C:\_work\llvm-project\llvm-project\lldb\test\API\functionalities\postmortem\elf-core\TestLinuxCore.py", line 1389 in check_state
  File "C:\_work\llvm-project\llvm-project\lldb\test\API\functionalities\postmortem\elf-core\TestLinuxCore.py", line 1426 in check_all
  File "C:\_work\llvm-project\llvm-project\lldb\test\API\functionalities\postmortem\elf-core\TestLinuxCore.py", line 1436 in do_test
  File "C:\_work\llvm-project\llvm-project\lldb\test\API\functionalities\postmortem\elf-core\TestLinuxCore.py", line 109 in test_s390x
  File "C:\Python312\Lib\unittest\case.py", line 589 in _callTestMethod
  File "C:\Python312\Lib\unittest\case.py", line 634 in run
  File "C:\Python312\Lib\unittest\case.py", line 690 in __call__
  File "C:\Python312\Lib\unittest\suite.py", line 122 in run
  File "C:\Python312\Lib\unittest\suite.py", line 84 in __call__
  File "C:\Python312\Lib\unittest\suite.py", line 122 in run
  File "C:\Python312\Lib\unittest\suite.py", line 84 in __call__
  File "C:\Python312\Lib\unittest\runner.py", line 240 in run
  File "C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\dotest.py", line 1187 in run_suite
  File "C:\_work\llvm-project\llvm-project\lldb\test\API\dotest.py", line 8 in <module>
Fatal Python error: Illegal instruction

Current thread 0x00004d74 (most recent call first):
  File "C:\_work\llvm-project\llvm-project\build\Lib\site-packages\lldb\__init__.py", line 15014 in StepOut
  File "C:\_work\llvm-project\llvm-project\lldb\test\API\functionalities\postmortem\elf-core\TestLinuxCore.py", line 1389 in check_state
  File "C:\_work\llvm-project\llvm-project\lldb\test\API\functionalities\postmortem\elf-core\TestLinuxCore.py", line 1426 in check_all
  File "C:\_work\llvm-project\llvm-project\lldb\test\API\functionalities\postmortem\elf-core\TestLinuxCore.py", line 1436 in do_test
  File "C:\_work\llvm-project\llvm-project\lldb\test\API\functionalities\postmortem\elf-core\TestLinuxCore.py", line 109 in test_s390x
  File "C:\Python312\Lib\unittest\case.py", line 589 in _callTestMethod
  File "C:\Python312\Lib\unittest\case.py", line 634 in run
  File "C:\Python312\Lib\unittest\case.py", line 690 in __call__
  File "C:\Python312\Lib\unittest\suite.py", line 122 in run
  File "C:\Python312\Lib\unittest\suite.py", line 84 in __call__
  File "C:\Python312\Lib\unittest\suite.py", line 122 in run
  File "C:\Python312\Lib\unittest\suite.py", line 84 in __call__
  File "C:\Python312\Lib\unittest\runner.py", line 240 in run
  File "C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\dotest.py", line 1187 in run_suite
  File "C:\_work\llvm-project\llvm-project\lldb\test\API\dotest.py", line 8 in <module>

Extension modules: _wmi, lldb.native._lldb (total: 2)

--

```
</details>
<details>
<summary>lldb-api.tools/lldb-server/TestGdbRemoteExpeditedRegisters.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.noindex --lldb-module-cache-dir C:/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-lldb\lldb-api --clang-module-cache-dir C:/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang\lldb-api --executable C:/_work/llvm-project/llvm-project/build/./bin/lldb.exe --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\tools\lldb-server -p TestGdbRemoteExpeditedRegisters.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_stop_notification_contains_any_registers_debugserver (TestGdbRemoteExpeditedRegisters.TestGdbRemoteExpeditedRegisters.test_stop_notification_contains_any_registers_debugserver) (test case does not fall in any category of interest for this run) 

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_stop_notification_contains_any_registers_llgs (TestGdbRemoteExpeditedRegisters.TestGdbRemoteExpeditedRegisters.test_stop_notification_contains_any_registers_llgs)

UNSUPPORTED: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_stop_notification_contains_fp_register_debugserver (TestGdbRemoteExpeditedRegisters.TestGdbRemoteExpeditedRegisters.test_stop_notification_contains_fp_register_debugserver) (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_stop_notification_contains_fp_register_llgs (TestGdbRemoteExpeditedRegisters.TestGdbRemoteExpeditedRegisters.test_stop_notification_contains_fp_register_llgs)

Log Files:

 - C:\_work\llvm-project\llvm-project\build\lldb-test-build.noindex\tools\lldb-server\TestGdbRemoteExpeditedRegisters\Failure_test_stop_notification_contains_fp_register_llgs.log

UNSUPPORTED: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_stop_notification_contains_no_duplicate_registers_debugserver (TestGdbRemoteExpeditedRegisters.TestGdbRemoteExpeditedRegisters.test_stop_notification_contains_no_duplicate_registers_debugserver) (test case does not fall in any category of interest for this run) 

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_stop_notification_contains_no_duplicate_registers_llgs (TestGdbRemoteExpeditedRegisters.TestGdbRemoteExpeditedRegisters.test_stop_notification_contains_no_duplicate_registers_llgs)

UNSUPPORTED: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_stop_notification_contains_pc_register_debugserver (TestGdbRemoteExpeditedRegisters.TestGdbRemoteExpeditedRegisters.test_stop_notification_contains_pc_register_debugserver) (test case does not fall in any category of interest for this run) 

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_stop_notification_contains_pc_register_llgs (TestGdbRemoteExpeditedRegisters.TestGdbRemoteExpeditedRegisters.test_stop_notification_contains_pc_register_llgs)

UNSUPPORTED: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_stop_notification_contains_sp_register_debugserver (TestGdbRemoteExpeditedRegisters.TestGdbRemoteExpeditedRegisters.test_stop_notification_contains_sp_register_debugserver) (test case does not fall in any category of interest for this run) 

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_stop_notification_contains_sp_register_llgs (TestGdbRemoteExpeditedRegisters.TestGdbRemoteExpeditedRegisters.test_stop_notification_contains_sp_register_llgs)

UNSUPPORTED: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_stop_notification_contains_vg_register_debugserver (TestGdbRemoteExpeditedRegisters.TestGdbRemoteExpeditedRegisters.test_stop_notification_contains_vg_register_debugserver) (test case does not fall in any category of interest for this run) 

UNSUPPORTED: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_stop_notification_contains_vg_register_llgs (TestGdbRemoteExpeditedRegisters.TestGdbRemoteExpeditedRegisters.test_stop_notification_contains_vg_register_llgs) (skipping due to the following parameter(s): architecture) 

Log Files:

 - C:\_work\llvm-project\llvm-project\build\lldb-test-build.noindex\tools\lldb-server\TestGdbRemoteExpeditedRegisters\SkippedTest_test_stop_notification_contains_vg_register_llgs.log

======================================================================

FAIL: test_stop_notification_contains_fp_register_llgs (TestGdbRemoteExpeditedRegisters.TestGdbRemoteExpeditedRegisters.test_stop_notification_contains_fp_register_llgs)

----------------------------------------------------------------------

Traceback (most recent call last):

  File "C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\tools\lldb-server\gdbremote_testcase.py", line 49, in test_method

    return attrvalue(self)

           ^^^^^^^^^^^^^^^

  File "C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\decorators.py", line 160, in wrapper

    return func(*args, **kwargs)

           ^^^^^^^^^^^^^^^^^^^^^

  File "C:\_work\llvm-project\llvm-project\lldb\test\API\tools\lldb-server\TestGdbRemoteExpeditedRegisters.py", line 97, in test_stop_notification_contains_fp_register

    self.stop_notification_contains_generic_register("fp")

  File "C:\_work\llvm-project\llvm-project\lldb\test\API\tools\lldb-server\TestGdbRemoteExpeditedRegisters.py", line 45, in stop_notification_contains_generic_register

    expedited_registers = self.gather_expedited_registers()

                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\_work\llvm-project\llvm-project\lldb\test\API\tools\lldb-server\TestGdbRemoteExpeditedRegisters.py", line 28, in gather_expedited_registers

    context = self.expect_gdbremote_sequence()

              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\tools\lldb-server\gdbremote_testcase.py", line 665, in expect_gdbremote_sequence

    return expect_lldb_gdbserver_replay(

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\tools\lldb-server\lldbgdbserverutils.py", line 181, in expect_lldb_gdbserver_replay

    context = sequence_entry.assert_match(asserter, content, context=context)

              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\tools\lldb-server\lldbgdbserverutils.py", line 465, in assert_match

    return self._assert_regex_match(asserter, actual_packet, context)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\tools\lldb-server\lldbgdbserverutils.py", line 429, in _assert_regex_match

    asserter.fail(

AssertionError: regex '^\$T([0-9a-fA-F]+)([^#]+)#[0-9a-fA-F]{2}$' failed to match against content '$E37#af'

Config=x86_64-C:\_work\llvm-project\llvm-project\build\bin\clang.exe

----------------------------------------------------------------------

Ran 12 tests in 8.381s



FAILED (failures=1, skipped=7)


--

```
</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/203684


More information about the lldb-commits mailing list