https://github.com/frederick-vs-ja requested changes to this pull request. I think the (NFC) changes in `monotonic_buffer_resource.h` and `memory_resource.cpp` should be split to another PR. https://github.com/llvm/llvm-project/pull/116971