This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Binary Compatibility [was Re: libstdc++ compatibility]


On Fri, 23 Oct 1998, Martin von Loewis wrote:

> One thing I personally like to see is a mangler testsuite. I'm not
> sure how to implement this. Ideally, I'd like to write
> 
> namespace Foo{
>   void bar(){  // MANGLED bar__3Foov
>   }
> }
> 
> It would produce assembler code (or an object file?) and then somehow
> check whether the symbol is present. Alternatively, it would try to
> call the function mangled that way, and see if it is the right one.
> 

Perhaps the gcc.dg/dll-* tests will help? That's the technique I use
to test for various DLL symbol names stuff in win32 (I got sick
of breaking these every time I changed something ...).

Regards,
Mumit





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]