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]
Other format: [Raw text]

Re: GCC to open the C++ demangle API?


On Friday 22 March 2002 07:40, Fergus Henderson wrote:
> On 20-Mar-2002, Mark Mitchell <mark@codesourcery.com> wrote:
> > > True, though I'm not aware of other approaches.  But I definitely agree
> > > that this stuff has no place in the language standard.
> >
> > We're wandering into never-never land, but I do know of one other
> > approaches that have Really Been Used: interpretation, where the
> > lookup was done following the language rules, rather than by mangled
> > name.
> >
> > In practice, though, everyone uses mangling.
>
> For the .NET CLR, name mangling is not used; the underlying assembler,
> object file format, and linker directly support overloading.

... and it is by choice that existing systems do not do this. There's no 
technical reason this couldn't be done as an ELF extension.

Bo.

-- 

     Bo Thorsen                 |   Praestevejen 4
     Free software developer    |   5290 Marslev
     SuSE Labs                  |   Denmark


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