[cfe-commits] [PATCH] Make the Microsoft C++ name mangler use the right calling convention

Charles Davis cdavis at mymail.mines.edu
Mon Nov 8 08:09:10 PST 2010


This patch makes the Microsoft name mangler use the CXXABI object from
the AST library to determine the right calling convention to use for
member functions and PMFs when their calling convention is CC_Default.

In order to do this, I had to make the CXXABI.h header from AST public.
I'm kinda leery about doing that, so I want some input before I commit.
One alternative may be to add a similar method to the CGCXXABI object,
but I don't like to duplicate code like that.

OK to commit?

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ms-mangler-no-canonical-cc.patch
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20101108/09728180/attachment.ksh>

More information about the cfe-commits mailing list