diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-05-22 06:04:42 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-05-22 06:04:42 +0000 |
commit | 03656162a3dcdfb71ee727fd2a00d75237359b32 (patch) | |
tree | 4f6850e45842d6f44fdc84b6d181bfe3aa26e401 /lldb/source/Commands/CommandObjectProcess.cpp | |
parent | 87fc5f8695d9b1ef6ae807e79680bdcf7c94f546 (diff) | |
download | llvm-03656162a3dcdfb71ee727fd2a00d75237359b32.zip llvm-03656162a3dcdfb71ee727fd2a00d75237359b32.tar.gz llvm-03656162a3dcdfb71ee727fd2a00d75237359b32.tar.bz2 |
MC: Shave a pointer off of MCSymbol::Name
Shave a pointer off of `MCSymbolName` by storing `StringMapEntry<bool>*`
instead of `StringRef`. This brings `sizeof(MCSymbol)` down to 64 on
64-bit platforms, a nice round number. My profile showed memory
dropping from 914 MB down to 908 MB, roughly 0.7%. Other than memory
usage, no functionality change here.
(I'm looking at `llc` memory usage on `verify-uselistorder.lto.opt.bc`;
see r236629 for details.)
llvm-svn: 238005
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
0 files changed, 0 insertions, 0 deletions