[cfe-commits] [PATCH] Laying the foundation for alternate C++ ABI support

Charles Davis cdavis at mymail.mines.edu
Mon May 24 22:43:01 PDT 2010


(NOTE: Since John's my GSoC mentor, I've CC'd him.)

This is the first patch in my GSoC series, in which I will factor out
C++ ABI support in IRgen so that we can support other C++ ABIs. This
patch is very simple. It just adds a class hierarchy similar to the one
for Objective-C runtimes, and a basic implementation for the current GNU
C++ ABI. All it supports is name mangling. CodeGenFunction has been
redirected to use this new interface instead of holding the
MangleContext itself (which is very specific to the GNU ABI right now).

Forthcoming is a patch to add a stub mangler for the ever-popular
Microsoft Visual C++ ABI, and a driver switch to turn on MSVC ABI
support. (Daniel, I'll need your input for the driver part.)

Chip
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cxx-abi-1.patch
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100524/77d1db84/attachment.ksh>


More information about the cfe-commits mailing list