Am Tue, 28 Jan 2014 16:00:50 +0000 schrieb Iain Buclaw <ibuc...@gdcproject.org>:
> > Somehow sounds like you want to hook into the g++ frontend to do the > > mangling? > > Nah... Keep the same implementation. I was thinking more along the > lines of using bells and whistles that are GDC specific. For example: > targetm.mangle_type - which is needed if we want compatible C++ > mangling on ARM for va_list or vector types. > > As for g++ frontend mangle.c, we would require having some form of > -fabi-version=n switch; which is a bit exper. And besides I don't > feel like satisfying the need of some lone guy out there who requires > C++ mangling ABI greater than v.3 from D. > > Regards > Iain That sounds reasonable. I had a quick look on how difficult it is to hook into another frontend in GCC some time ago and IIRC it's almost impossible so I was kinda surprised.