[PATCH] First set of patches for type uniquing

Manman Ren manman.ren at gmail.com
Tue Aug 27 17:40:55 PDT 2013


> > The mangler does not have an API of saying whether it can be mangled. It
> > will
> > just throw an error. Are you referring to a helper function in
> CGDebugInfo
> > to check
> > whether it can be mangled?
>
> I haven't looked at your patch in detail, but presumably we have logic
> to detect whether something's publicly mangleable & only try to mangle
> then. So maybe that would catch the UUID case too, if we do it right
> (or maybe not, I don't know).
>
> In addition/alternatively, I wonder why that test case wasn't already
> failing to mangle the UUID, I would assume the mangled name of the
> non-type template parameters is needed for the template to be
> compiled. So what does it do with the UUID, I wonder...
>
> I don't have an answer for the above. I am using mangleCXXRTTIName, maybe
something else is used
to mangle the non-type template parameters.

Manman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130827/dd631417/attachment.html>


More information about the llvm-commits mailing list