[Lldb-commits] [PATCH] D118812: [lldb] Add a setting to skip long mangled names

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 2 13:52:43 PST 2022


clayborg added a comment.

Can we put a limit on the length of the kinds of names we are willing to demangle in the first place? How long are some of these names _prior_ to demangling? It would be great if we could skip demangling names that are too long to begin with. That would allow us to skip trying to create the demangled name in the first place which is part of the memory problem right? Once the mangled name has been added to the ConstString pool it is already too late and we won't save any memory.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118812/new/

https://reviews.llvm.org/D118812



More information about the lldb-commits mailing list