aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp
diff options
context:
space:
mode:
authorKadir Cetinkaya <kadircet@google.com>2022-01-26 17:55:52 +0100
committerKadir Cetinkaya <kadircet@google.com>2022-01-27 13:01:55 +0100
commitc4e68953f6443b9854ce3ec1dc8756789beafcc1 (patch)
tree0bd0a3f15c47c5204325ef9d63e5e556419c42ac /lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp
parent97916673d402c1d4915e6d49386a9d7739aca002 (diff)
downloadllvm-c4e68953f6443b9854ce3ec1dc8756789beafcc1.zip
llvm-c4e68953f6443b9854ce3ec1dc8756789beafcc1.tar.gz
llvm-c4e68953f6443b9854ce3ec1dc8756789beafcc1.tar.bz2
[clangd][Hover] Suppress initializers with many tokens
This results in excessive memory usage and eats a lot of screen estate. Especially in the cases with lots of nested macro calls. This patch tries to remedy it before the release cut by suppressing the initializers. For better UX we should probably update the expression printer to truncate those (behind some policy). Fixes https://github.com/clangd/clangd/issues/917 Differential Revision: https://reviews.llvm.org/D118260
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions