feat(libSceLibcInternal): implement PMR memory resources #14903
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/14903"
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 unaiea-dev on 2026-11-02T00:01:09Z.
What
Implement the four C++17
<memory_resource>global resource accessors inlibSceLibcInternal(_ZNSt3pmr19new_delete_resourceEv/9G32u5RRYxE,_ZNSt3pmr20get_default_resourceEv/d2u38zs4Pe8,_ZNSt3pmr20null_memory_resourceEv/eWMGI7B7Lyc, and_ZNSt3pmr20set_default_resourceEPNS_15memory_resourceE/TKYsv0jdvRw) with their ownstd::pmrnew-delete and null resource singletons, guest vtables (NSt3pmr...RTTI), and atomic default-resource slot separate fromlibc'sstd::__sce_v2::pmr_Aligned_*/_Unaligned_*/null_memory_resourcefamily, and add unit tests inGuestLibcInternalMemoryResource.cpp.Tested
Windows 11: verified
python tools/check_conventions.py --base origin/main,python core/libs/tests/test_public_headers.py --audit-only, andpython tools/pr_overlap.py --branch feat/libscelibcinternal-pmr-resources.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)