[PATCH] D51154: [clangd] Log memory usage of DexIndex and MemIndex

Kirill Bobyrev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 24 01:18:02 PDT 2018


kbobyrev added a comment.

In https://reviews.llvm.org/D51154#1211376, @ioeric wrote:

> Do we plan to expose an API in `ClangdServer` to allow C++ API users to track index memory usages?


I think we do, IIUC the conclusion of the offline discussion was that it might be useful for the clients. However, that would require `SymbolSlab` estimation, too (which is probably out of scope of this patch).


https://reviews.llvm.org/D51154





More information about the cfe-commits mailing list