Community
Participate
Working Groups
CDT's current method for representing types as strings is quite inefficient. In bug 519121, for example, we were getting OOM errors due to building type-strings that were over 30 million characters long. The fix applied there is more of a workaround; it would be good to have a more systematic solution. One idea that has been suggested is to adopt the Itanium ABI's name mangling scheme to generate string representations of types.
(In reply to Nathan Ridge from comment #0) > One idea that has been suggested is to adopt the Itanium ABI's name mangling > scheme to generate string representations of types. Documentation for this mangling scheme can be found here: http://itanium-cxx-abi.github.io/cxx-abi/abi.html#mangling