The idea of this patch to make libcxx implementation of std::pmr::memory_resource and some of its utilities ABI-compatible with GNU and Microsoft implementation of standard library.
Since both GNU and Microsoft libraries have the name without namespace versioning we would like to remove that as well in libcxx to result in the same mangled name with GNU implementation. It also allows to let's say set memory_resource via std::pmr::set_default_resource in some library compiled with GNU/Microsoft and then read it with std::pmr::<get|set>_default_resource it in the library/application that is built with libcxx.
The similar technic as applied (for example) for std::<get|set>_terminate functions.
I believe it's worth committing this patch before release because now the latest libcxx has no implementation of memory resource. Introducing it later would be the ABI breaking change.
Please advise what tests should we add
Co-authored-by: Konstantin Boyarinov <konstantin.boyarinov@intel.com>