summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
diff options
context:
space:
mode:
authorHaojian Wu <hokein@google.com>2018-11-14 11:55:45 +0000
committerHaojian Wu <hokein@google.com>2018-11-14 11:55:45 +0000
commitee54a2b501cf1d3e7e722d63c00463103a3b9cc4 (patch)
tree6162ece147b8835cc1f0f2e9e748555836477c2e /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
parentee78ae6b869eccfb9938b18ab204453d2c0de638 (diff)
downloadbcm5719-llvm-ee54a2b501cf1d3e7e722d63c00463103a3b9cc4.tar.gz
bcm5719-llvm-ee54a2b501cf1d3e7e722d63c00463103a3b9cc4.zip
[clangd] Replace StringRef in SymbolLocation with a char pointer.
Summary: This would save us 8 bytes per ref, and buy us ~40MB in total for llvm index (from ~300MB to ~260 MB). The char pointer must be null-terminated, and llvm::StringSaver guarantees it. Reviewers: sammccall Subscribers: ilya-biryukov, ioeric, MaskRay, jkorous, arphaman, kadircet, cfe-commits Differential Revision: https://reviews.llvm.org/D53427 llvm-svn: 346852
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud