[cxx-abi-dev] abi_tag mangling

Richard Smith richardsmith at google.com
Thu Jun 2 22:01:36 UTC 2016


Thank you for writing this up!

If a type is not part of the regular mangling, and it contains an ABI tag
in its mangling but not as part of its type (for instance, a dependent
expression in a template argument references an entity with an ABI tag),
does that appear in the resulting mangling?

(That is, is an implementation required to effectively mangle the return
type and throw it away, or is some walk over the top-level type required
instead?)

On 2 Jun 2016 2:33 p.m., "Jason Merrill" <jason at redhat.com> wrote:

> I've finally written up a specification for abi_tag mangling for the ABI
> standard:
>
>
> https://github.com/jicama/cxx-abi/commit/69cea3c9caf76cb308e35c66f4516f54973b6412
>
> Note that some of the subtleties with local scopes described in the clang
> ABI tag documentation (
> http://clang.llvm.org/docs/ItaniumMangleAbiTags.html) are due to bugs in
> GCC 5 that are fixed in GCC 6.
>
> Jason
> _______________________________________________
> cxx-abi-dev mailing list
> cxx-abi-dev at codesourcery.com
> http://sourcerytools.com/cgi-bin/mailman/listinfo/cxx-abi-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/cxx-abi-dev/attachments/20160602/2360c471/attachment.html>


More information about the cxx-abi-dev mailing list