HomePhabricator

Shrink-to-fit our std::vector<DWARFDebugInfoEntry> collections and save 20% to…

Authored by clayborg on Nov 22 2011, 1:35 PM.

Description

Shrink-to-fit our std::vector<DWARFDebugInfoEntry> collections and save 20% to 30% of memory. The size doubling was killing us and we ended up with up to just under 50% of empty capacity. Cleaning this up saves us a ton of memory.

llvm-svn: 145086

Details

Committed
clayborgNov 22 2011, 1:35 PM
Parents
rG01575f86aa6d: Got the sizeof(lldb_private::Symbol) down to 64 bytes (from 72 bytes) by not…
Branches
Unknown
Tags
Unknown