[PATCH] D50935: Add data structure to form equivalence classes of mangled names.

Richard Smith - zygoloid via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 20 14:54:34 PDT 2018


rsmith added a comment.

In https://reviews.llvm.org/D50935#1205333, @kristina wrote:

> It looks like a lot to maintain given that the IA64 mangler is not capable of mangling certain constructs without short circuiting to some default string


I'm not sure what you're referring to. (The Itanium demangler in LLVM is essentially feature-complete.) Can you clarify?

> Although I'm guessing this doesn't intend to cover such cases and can also be handy for additional common things like a cleaner way of rewriting `std::__1::basic_string...` (aka `std::string`) to its reserved shorthand mangled form?

Yes, supporting remapping between libc++ manglings and libstdc++ manglings is one of the primary things this is aimed at.


Repository:
  rL LLVM

https://reviews.llvm.org/D50935





More information about the llvm-commits mailing list