aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectFrame.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2022-01-09 13:43:26 -0800
committerFangrui Song <i@maskray.me>2022-01-09 13:43:27 -0800
commit5d3bd7f36092c88265dc698a970078184425f67c (patch)
tree63099dd77adf86432a81462d7f9f20cef9b1e8ef /lldb/source/Commands/CommandObjectFrame.cpp
parent2bcff220bf1e372e91491911fe0bb76c4c4bbef8 (diff)
downloadllvm-5d3bd7f36092c88265dc698a970078184425f67c.zip
llvm-5d3bd7f36092c88265dc698a970078184425f67c.tar.gz
llvm-5d3bd7f36092c88265dc698a970078184425f67c.tar.bz2
[ELF] Move gotIndex/pltIndex/globalDynIndex to SymbolAux
to decrease sizeof(SymbolUnion) by 8 on ELF64 platforms. Symbols needing such information are typically 1% or fewer (5134 out of 560520 when linking clang, 19898 out of 5550705 when linking chrome). Storing them elsewhere can decrease memory usage and symbol initialization time. There is a ~0.8% saving on max RSS when linking a large program. Future direction: * Move some of dynsymIndex/verdefIndex/versionId to SymbolAux * Support mixed TLSDESC and TLS GD without increasing sizeof(SymbolUnion) Reviewed By: peter.smith Differential Revision: https://reviews.llvm.org/D116281
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
0 files changed, 0 insertions, 0 deletions