feat(libc): raise logic_error::_Doraise and _Xruntime_error #6072
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/6072"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by notaxeltv on 2026-10-14T21:21:39Z.
What
tools/import_audit.pyon PPSA34015 (EA SPORTS FC 27) reports absentlibc.prximports, first in registry order:std::exception::_Doraise/_Raiseand the other_X*helpers already exist.logic_error::_Doraisenow rethrows throughThrowMessagewith the object's message (same pattern as_Xout_of_range)._Xruntime_errorthrowsruntime_errorthe same way as the neighbouring helpers.Tested
Windows 10, WinLibs GCC 15.2.0. New
guest_message_destructor_runtime-*andguest_message_destructor_doraise-*modes pass.tools/check_conventions.py --base upstream/mainpasses. With the patchedlibc.prxFC 27 still later faults on a null call inJob0(separate from these absents).Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Made with Cursor
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-14T21:22:25Z.
Progress report (
4808d9c→70c0804)📈 System libraries: 88.7% (+0.01%, +2 implemented functions)
✅ 2 implemented
_ZNKSt11logic_error8_DoraiseEv_nid_postfix_ZSt15_Xruntime_errorPKc_nid_postfixImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T12:14:12Z.
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
core/libs/prx/libc/CMakeLists.txtcore/libs/prx/libc/CMakeLists.txtcore/libs/prx/libc/CMakeLists.txtcore/libs/tests/GuestMessageDestructorAbi.cppcore/libs/prx/libc/CMakeLists.txtcore/libs/prx/libc/CMakeLists.txtImported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-16T22:06:34Z.
Checked the diff against
std::exception::_Doraiseand_Xout_of_range(same pattern, null guard included), full build and ctest on Linux (only the unrelatedagc_driver_tessellationsegfault on RADV). The newguest_message_destructor_{runtime,doraise}-*modes are MinGW-only, so the full Windows build is the gate; merging once it is green.