[patch] Make emitCXXStructor an CGCXXABI method

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Sep 11 09:54:48 PDT 2014


The first attached patch creates a emitCXXStructor function and makes
the existing emitCXXConstructor and emitCXXDestructor static helpers.

The next patch makes it be a method of CGCXXABI. For now with
identical implementations in Itanium and Microsoft.

The objective is that in subsequent patches we can

* Simplify each implementation a bit.
* Change the Itanium one to use comdats being sure the Microsoft one
  is not changed.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: emitCXXStructor.patch
Type: text/x-patch
Size: 8774 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140911/5fe3d2ae/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cxxabi.patch
Type: text/x-patch
Size: 14084 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140911/5fe3d2ae/attachment-0001.bin>


More information about the cfe-commits mailing list