[PATCH] D18035: [GCC] PR23529 Mangler part of attrbute abi_tag support

Dmitry Polukhin via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 21 04:14:27 PDT 2016


DmitryPolukhin updated this revision to Diff 61350.
DmitryPolukhin added a comment.

This patch set contains serious refactoring to make it closer to what Richard suggested. Unfortunately there is no way to fully implement Richard's idea because we have to mangle twice name of functions and variables. But this patch reuse mangled bare function type generated during tags calculation.

NOTE for people who use this patch for local testing: this patch set was not tested extensively on real world apps so it might have be worse than previous one. If you can, please test it in your environment and report any issues. For now "stable" version of this patch is previous patch set from May 23.

Richard, please take a look and let me know if it looks better for you. IMHO, it becomes smaller and simpler and reuse mangling for function prototype.


http://reviews.llvm.org/D18035

Files:
  lib/AST/ItaniumMangle.cpp
  lib/Sema/SemaDeclAttr.cpp
  test/CodeGenCXX/mangle-abi-tag.cpp
  test/PCH/attrs.c
  test/SemaCXX/attr-abi-tag-syntax.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18035.61350.patch
Type: text/x-patch
Size: 39299 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160621/20e7dc52/attachment-0001.bin>


More information about the cfe-commits mailing list