feat(libc): export the wide time_get facet vtable as data #9464
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9464"
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:45:55Z.
What
Export
time_get<wchar_t>'s vtable (NIDsEca1nUOueA) as thirteen zeroeduintptr_tslots so titles that resolve it as data get a 104-byte object matching consolelibSceLibcInternal, same pattern as the other facet vtables. Facet calls through the slots still fault until methods are wired (debt note). Wide counterpart to #9456; merge after that PR so the paired debt notes andGuestLocalechecks land in order. Additive with #8880/#9038 (distinct NIDs).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.sEca1nUOueAis STT_OBJECT st_size 104 in firmwarelibSceLibcInternal.sprx(FTP measurement).Checklist
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-21T22:54:34Z.
Review: APPROVED
Reviewed the exported
time_get<wchar_t>object as a distinct NID and symbol from #9456’stime_get<char>object. The 13-slotuintptr_tstorage is 104 bytes, matches the recorded console export size, and the test verifies the full zero-initialized storage is writable. The debt note clearly states that virtual calls remain unsupported. Eligibility, conventions, intake, labels, report, all four relinker configurations, ASan relinker, both register-context variants and both write-watch jobs pass; aggregate Linux/Windows jobs are skipped for the changed paths. The only outstanding hosted build job is the Windows relinker, so I will wait for that before treating the check set as final.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T04:34:04Z.
Review: DISMISSED
The object size/NID evidence and focused locale test were reviewed previously. The current head is based on
a6dcea927, 47 commits behind current main (110a18ba01); please rebase and rerun the focused locale test, conventions, and overlap checks. The overlap report names #8880 and #9038 in the same locale source/test files, and #9464 is expressly the wide counterpart to #9456: please record the correctDepends on: #9456or a concrete independent merge order if appropriate, and verify the combined test/debt changes survive both PRs. TheUnblocksline must benoneor a title ID plus its Game bring-up discussion; the current generic wording does not satisfy the contribution template. I did not run local tests for this follow-up.Imported from boykopovar/AnyPS5. Originally posted by mazen320 on 2026-10-22T04:37:25Z.
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.