[cfe-dev] Proposal: Managing ABI changes in libc++

Marshall Clow mclow.lists at gmail.com
Mon Dec 8 10:20:45 PST 2014


> On Dec 8, 2014, at 9:57 AM, Nick Kledzik <kledzik at apple.com> wrote:
> 
> Marshall,
> 
> I'm glad you are thinking about this and working through a design!
> 
> Have you considered using mangling to keep ABI changes separate?  That is, mangle the class or namespace differently (perhaps __2 instead of __1) for new ABIs.   That way no one case accidentally link two different ABIs.

Nick —

I’ve done some thinking along those lines, but that seems like a very bit hammer for these kinds of changes.

I’ll puzzle some more.

— Marshall





More information about the cfe-dev mailing list