diff options
author | Kadir Cetinkaya <kadircet@google.com> | 2020-10-13 00:10:04 +0200 |
---|---|---|
committer | Kadir Cetinkaya <kadircet@google.com> | 2020-10-19 12:30:25 +0200 |
commit | d0f287464d8a2b6940cc968850b7a013c665981a (patch) | |
tree | f0e09519d05ce4429ea393a8031533622cc178cd /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 0b7b446a406be2e7d28460d17de4746b47543691 (diff) | |
download | llvm-d0f287464d8a2b6940cc968850b7a013c665981a.zip llvm-d0f287464d8a2b6940cc968850b7a013c665981a.tar.gz llvm-d0f287464d8a2b6940cc968850b7a013c665981a.tar.bz2 |
[clangd] Add $/memoryUsage LSP extension
Performs a detailed profiling of clangd lsp server and conveys the
result to the client as a json object. It is of the form:
{
"_self": 0,
"_total": 8,
"child1": {
"_self": 4,
"_total": 4,
}
"child2": {
"_self": 2,
"_total": 4,
"child_deep": {
"_self": 2,
"_total": 2,
}
}
}
Differential Revision: https://reviews.llvm.org/D89277
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions