diff options
author | Kirill Bobyrev <kbobyrev.opensource@gmail.com> | 2018-09-10 11:46:07 +0000 |
---|---|---|
committer | Kirill Bobyrev <kbobyrev.opensource@gmail.com> | 2018-09-10 11:46:07 +0000 |
commit | 38a889c1853c1831a1b3eef07122415645582fac (patch) | |
tree | a901252dc956ad41d14e63c1c6fb6de1dfc6d663 /llvm/lib/Target/Sparc/Disassembler/SparcDisassembler.cpp | |
parent | fc2931375d6ca8ab4d45cb820d91c7c88469f012 (diff) | |
download | llvm-38a889c1853c1831a1b3eef07122415645582fac.zip llvm-38a889c1853c1831a1b3eef07122415645582fac.tar.gz llvm-38a889c1853c1831a1b3eef07122415645582fac.tar.bz2 |
[clangd] Add symbol slab size to index memory consumption estimates
Currently, `SymbolIndex::estimateMemoryUsage()` returns the "overhead"
estimate, i.e. the estimate of the Index data structure excluding
backing data (such as Symbol Slab and Reference Slab). This patch
propagates information about paired data size where necessary.
Reviewed By: ioeric, sammccall
Differential Revision: https://reviews.llvm.org/D51539
llvm-svn: 341800
Diffstat (limited to 'llvm/lib/Target/Sparc/Disassembler/SparcDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions