[PATCH] D45478: [clangd] Merge symbols in global-sym-builder on the go

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 10 02:13:00 PDT 2018


ilya-biryukov created this revision.
ilya-biryukov added reviewers: hokein, sammccall, klimek.
Herald added subscribers: MaskRay, ioeric, jkorous-apple.

This avoids storing intermediate symbols in memory, most of which are
duplicates.
The resulting .yaml file is ~120MB, while intermediate symbols takes
more than 20GB.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D45478

Files:
  clangd/global-symbol-builder/GlobalSymbolBuilderMain.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45478.141810.patch
Type: text/x-patch
Size: 5316 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180410/0b546ef6/attachment.bin>


More information about the cfe-commits mailing list