[PATCH] D51539: [clangd] Add symbol slab size to index memory consumption estimates

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 7 02:35:07 PDT 2018


sammccall added inline comments.


================
Comment at: clang-tools-extra/clangd/index/FileIndex.cpp:135
+                      std::move(RefsStorage)),
+      /*BackingDataSize=*/0);
 }
----------------
this size should be calculated from the slabs above


https://reviews.llvm.org/D51539





More information about the cfe-commits mailing list