Bug 23529: Add support for gcc's attribute abi_tag (needed for compatibility with gcc 5's libstdc++)
Stefan Bühler via cfe-commits
cfe-commits at lists.llvm.org
Sat Sep 12 07:12:20 PDT 2015
Hi all,
I've been working on #23529.
The abi tag mangling implemented by gcc is horrible, but I think my
patch covers most of the incompatibilities with gcc5.
There might be some bugs with substitutions, although I have to come up
with a test case for that to see what gcc does...
Test cases comparing gcc and patched clang++:
http://files.stbuehler.de/test-itanium-mangle.html
(generated with http://files.stbuehler.de/test-itanium-mangle.sh, also
attached)
regards,
Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: abi-tag.patch
Type: text/x-patch
Size: 44857 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150912/34f14603/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ItaniumMangleAbiTags.rst
Type: text/x-rst
Size: 2858 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150912/34f14603/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-itanium-mangle.sh
Type: application/x-shellscript
Size: 21020 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150912/34f14603/attachment-0005.bin>
More information about the cfe-commits
mailing list