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

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 3 01:45:31 PST 2022


labath added a comment.

In D118812#3291109 <https://reviews.llvm.org/D118812#3291109>, @dblaikie wrote:

> (ie: what's the longest name that could be produced by a 10k long mangled name? and see if that's worth having another cutoff for)

I can create a 1MB demangled <https://godbolt.org/z/a149c9Kfb> name from a string of just 123 bytes.  By my estimate, a 1000-char mangled name could produce a demangled name whose length would have 43 digits. 10k mangled => 10^430 demanged, etc.


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

https://reviews.llvm.org/D118812



More information about the lldb-commits mailing list