feat(libc): export the wide num_get facet vtable as data #9468
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9468"
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 mazen320 on 2026-10-21T22:51:12Z.
What
Export
num_get<wchar_t>'s vtable (NIDY9C9GeKyZ3A) as seventeen zeroeduintptr_tslots so titles that resolve it as data get a 136-byte object matching consolelibSceLibcInternal, same pattern as the narrownum_getvtable. Facet calls through the slots still fault until methods are wired (debt note). Wide counterpart to the narrownum_getvtable in #8880; merge after that PR so the paired debt notes andGuestLocalechecks land in order. Additive with #9038/#9456/#9464 (distinct NIDs). SharedGuestLocale.cppedits with #6044 are additive test helpers only.Tested
ctest --test-dir build-win -R guest_locale— passed (Windows MinGW), after rebase ontoupstream/main110a18ba0.python tools/check_conventions.py --base upstream/main— passed.Y9C9GeKyZ3Ais STT_OBJECT st_size 136 in firmwarelibSceLibcInternal.sprx(FTP measurement).Checklist
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-21T22:57:56Z.
Review: APPROVED
Reviewed the wide
num_get<wchar_t>data object against the narrownum_get<char>work in #8880. The symbols and NIDs are distinct; the 17-slot array is 136 bytes, and the locale test checks zero initialization and writability. The debt note clearly records the unsupported virtual calls. Eligibility, conventions, intake, labels, report, all relinker variants, register-context jobs and both write-watch jobs pass; aggregate Linux/Windows jobs are skipped for the changed paths.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T04:33:26Z.
Review: DISMISSED
The wide vtable implementation and the reported
guest_localecheck are sound as reviewed, but I found two repository-rule items that need updating before the approval can be treated as current. First, this branch and its tested base are 47 commits behind currentmain(110a18ba01); please rebase and rerun the focused test and conventions/overlap checks. Second, the overlap report identifies open locale work in #8880 and #9038 atLocaleSupport.cpp/GuestLocale.cpp, plus an unreviewed conflict inGuestLocale.cppwith #6044. The body currently saysDepends on: noneand does not record an agreed merge order. Please verify the exact interaction with each PR, record the requiredDepends on: #Nand ordering when it is a prerequisite (or document why it is independent), and ensure both tests and debt entries survive the chosen order. Finally,Unblocksneedsnoneor a title ID with its Game bring-up discussion, per the template; the current generic description is not enough. No local test was run for this follow-up.Imported from boykopovar/AnyPS5. Originally posted by mazen320 on 2026-10-22T04:37:26Z.
Rebased onto current
main(110a18ba0), reranguest_localeand conventions (both passed). Updated the checklist:Unblocks: none, and recordedDepends on/ merge order vs the overlapping locale PRs as requested.