Reputation: 393
when experimenting c++ template meta-programming, I constructed a template type that is recursively defined, which makes type name very long in mangled form(~4600 bytes) if recursion depth is greater than 4, both nm -C
and c++filt
can not demangle the long name. Is this a limitation of nm
and c++filt
or the limitation of underlying libary used for demangling?
Edit: After I posted this question, I tried the same thing on my MacBook, it turned out the on MacOs, nm and c++filt works properly for the very long mangled name.
Upvotes: 1
Views: 636
Reputation: 31
There is a c++filt
bug about demangling a variadic auto lambda. You could give llvm-cxxfilt
a try.
Reference: https://stackoverflow.com/a/69641274
Upvotes: 2