Repository navigation
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
Progress report (4808d9c → ec03143)📈 System libraries: 88.71% (+0.02%, +7 implemented functions) ✅ 7 implemented
|
|
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
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.
|
|
Tested on Linux x86-64 (Release build), with ec03143 merged into main e16b2bc:
AI-assisted: yes (Claude Code) |
|
Checked on Linux: Ubuntu 26.04 (WSL2), GCC 15.2.0, Release, this head (
Not checked: macOS, the title. AI-assisted: yes (Claude Code). |
adriadam10
left a comment
There was a problem hiding this comment.
Thanks for the PR; the vtable/typeinfo/throw plumbing mirrors bad_weak_ptr correctly, guest_bad_optional_access passes here, and without the change it fails to link as expected.
One point to fix:
core/libs/prx/libc/src/exception/StandardExceptions.cpp:95:what()returns"bad optional access"(the libstdc++/MSVC text). The other plain exceptions in this file follow libc++ ("bad_weak_ptr","std::bad_function_call","std::bad_array_new_length"), and libc++'sbad_optional_access::what()returns"bad_optional_access". Please cite where the string comes from for the PS5 libc (disassembly of alibc.prxthat has the symbol, or another source). If it can't be verified, use the libc++ text and add a line under "Unknown function info" in the libc technical debt file saying the string is unverified. The test atGuestBadOptionalAccess.cpp:30then pins that value.
|
Thanks @notaxeltv. Closing this as covered by #7872, which has merged with your exports and |
What
tools/import_audit.pyon PPSA34015 lists absentlibc.prximportKwzEip7m6TM(_ZSt26_Throw_bad_optional_accessv). The type, vtable and_Throwhelper now followbad_weak_ptr: plain exception,what()returnsbad optional access.Tested
Windows 10, WinLibs GCC 15.2.0,
guest_bad_optional_accesspasses.tools/check_conventions.py --base upstream/mainpasses.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