summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-06-25 23:52:10 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-06-25 23:52:10 +0000
commit827200c822c83e4a4aae448683d2f90cc657a0a4 (patch)
treeeb6e618df696b9e9ec9d82d11fd75503d15d0240 /lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
parent41011f6706e37cecab4797e4e95a9273ca999930 (diff)
downloadbcm5719-llvm-827200c822c83e4a4aae448683d2f90cc657a0a4.tar.gz
bcm5719-llvm-827200c822c83e4a4aae448683d2f90cc657a0a4.zip
AsmPrinter: Use an intrusively linked list for DIE::Children
Replace the `std::vector<>` for `DIE::Children` with an intrusively linked list. This is a strict memory improvement: it requires no auxiliary storage, and reduces `sizeof(DIE)` by one pointer. It also factors out the DIE-related malloc traffic. This drops llc memory usage from 735 MB down to 718 MB, or ~2.3%. (I'm looking at `llc` memory usage on `verify-uselistorder.lto.opt.bc`; see r236629 for details.) llvm-svn: 240736
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud