Index: lldb/source/Utility/ConstString.cpp =================================================================== --- lldb/source/Utility/ConstString.cpp +++ lldb/source/Utility/ConstString.cpp @@ -31,7 +31,10 @@ class Pool { public: typedef const char *StringPoolValueType; - typedef llvm::StringMap + // BumpPtrAllocator allocates in 4KiB chunks, any larger C++ project is going + // to have megabytes of symbols, so allocate in larger chunks. + typedef llvm::BumpPtrAllocatorImpl Allocator; + typedef llvm::StringMap StringPool; typedef llvm::StringMapEntry StringPoolEntryType;