Re: gdb 8.x - g++ 7.x compatibility

Roman Popov
2018-02-05T20:17:30Z

Well, if ABI has specification for type naming, why not to put this name to
debug_info so debugger can use it?

In this case argument that "each producer has its own naming conventions"
no longer works. Any producer for given ABI must use ABI-specified names.

2018-02-05 12:12 GMT-08:00 Jonathan Wakely <jwakely.gcc@gmail.com>:

> On 5 February 2018 at 20:10, Roman Popov wrote:
> > Do you mean that g++ guarantees uniqueness of mangled names for types?
> And
>
> Of course. The mangled name is determined by the ABI and must be
> stable, predictable and unique, so that linking works.
>
> > uses name compare for operator== ?
>
> Yes.
>