[cfe-commits] [PATCH] Abstract v-table generation into the CGCXXABI interface

Charles Davis cdavis at mymail.mines.edu
Fri Jun 22 17:43:02 PDT 2012


Ping...

On Jun 16, 2012, at 5:00 AM, Charles Davis wrote:

> 
> On Jun 15, 2012, at 2:01 PM, r4start wrote:
> 
>> On 15/06/2012 23:05, Eli Friedman wrote:
>>> On Fri, Jun 15, 2012 at 11:49 AM, Charles Davis <cdavis at mymail.mines.edu> wrote:
>>>> Hi,
>>>> 
>>>> This patch factors v-table generation into the CGCXXABI class, so that, in the future, the Microsoft C++ ABI can implement its own v-table generation.
>>>> 
>>>> I also had to move the ItaniumCXXABI class into a header, so that CGRTTI could continue to use the getVTableLinkage() method, which now lives in ItaniumCXXABI. I thought that since CGRTTI is specific to the Itanium ABI anyway, this was OK. I don't know if you would prefer that method continue to belong to CodeGenModule, but I imagine that the Microsoft C++ ABI may have different rules for v-table visibility (which I have yet to work out).
>>>> 
>>>> OK to commit?
>>> Do you really need a different implementation of getVTableLinkage for
>>> the Microsoft ABI?  It doesn't look like it actually does anything
>>> ABI-specific.
> Moved it back.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-IRGen-Factor-v-table-generation-into-the-CGCXXABI-ob.patch
Type: application/octet-stream
Size: 3763 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120622/312e7b37/attachment.obj>


More information about the cfe-commits mailing list