<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">
> The mangler does not have an API of saying whether it can be mangled. It<br>
> will<br>
> just throw an error. Are you referring to a helper function in CGDebugInfo<br>
> to check<br>
> whether it can be mangled?<br>
<br>
</div></div>I haven't looked at your patch in detail, but presumably we have logic<br>
to detect whether something's publicly mangleable & only try to mangle<br>
then. So maybe that would catch the UUID case too, if we do it right<br>
(or maybe not, I don't know).<br>
<br>
In addition/alternatively, I wonder why that test case wasn't already<br>
failing to mangle the UUID, I would assume the mangled name of the<br>
non-type template parameters is needed for the template to be<br>
compiled. So what does it do with the UUID, I wonder...<br>
<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div>I don't have an answer for the above. I am using mangleCXXRTTIName, maybe something else is used</div><div>to mangle the non-type template parameters.</div>
<div><br></div><div>Manman </div></div></div></div>