diff --git a/llvm/utils/gn/secondary/libcxx/include/BUILD.gn b/llvm/utils/gn/secondary/libcxx/include/BUILD.gn index 3822f93840ba6..5bbe98905875e 100644 --- a/llvm/utils/gn/secondary/libcxx/include/BUILD.gn +++ b/llvm/utils/gn/secondary/libcxx/include/BUILD.gn @@ -483,6 +483,12 @@ if (current_toolchain == default_toolchain) { "__memory/uses_allocator.h", "__memory/uses_allocator_construction.h", "__memory/voidify.h", + "__memory_resource/memory_resource.h", + "__memory_resource/monotonic_buffer_resource.h", + "__memory_resource/polymorphic_allocator.h", + "__memory_resource/pool_options.h", + "__memory_resource/synchronized_pool_resource.h", + "__memory_resource/unsynchronized_pool_resource.h", "__mutex_base", "__node_handle", "__numeric/accumulate.h", diff --git a/llvm/utils/gn/secondary/libcxx/src/BUILD.gn b/llvm/utils/gn/secondary/libcxx/src/BUILD.gn index f7bd1b2b3339b..5dd6aaa5c44c9 100644 --- a/llvm/utils/gn/secondary/libcxx/src/BUILD.gn +++ b/llvm/utils/gn/secondary/libcxx/src/BUILD.gn @@ -148,6 +148,7 @@ cxx_sources = [ "legacy_pointer_safety.cpp", "locale.cpp", "memory.cpp", + "memory_resource.cpp", "mutex.cpp", "mutex_destructor.cpp", "new.cpp",