commit | d2c46a6e39a12e69b655b9d95c97439e8c648bed | [log] [tgz] |
---|---|---|
author | Greg Clayton <gclayton@apple.com> | Wed Dec 28 22:24:04 2011 +0000 |
committer | Greg Clayton <gclayton@apple.com> | Wed Dec 28 22:24:04 2011 +0000 |
tree | 0f588cf7783b8c0a9e1a3d84fa386e1d2b5531ef | |
parent | 3a01ddb7e94a724b32f425a5f549ad9b544a35ea [diff] [blame] |
Save a little bit of memory that was being reserved in a UniqueCStringMap vector that can be sized to fit. llvm-svn: 147324
diff --git a/lldb/source/Symbol/Symtab.cpp b/lldb/source/Symbol/Symtab.cpp index bd3b17c..0dd5f31 100644 --- a/lldb/source/Symbol/Symtab.cpp +++ b/lldb/source/Symbol/Symtab.cpp
@@ -322,6 +322,7 @@ } m_name_to_index.Sort(); + m_name_to_index.SizeToFit(); } }