Re: gdb 8.x - g++ 7.x compatibility
Roman Popov <[email protected]>
| Newsgroups | gmane.comp.gdb.devel,gmane.comp.gcc.devel |
|---|---|
| Message-ID | <CAATAM3Fa-OrVv_TFRuvyyFrQGXnfxjBfiQR-jtNP2vwffSg7gA@mail.gmail.com> |
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 <[email protected]>: > 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. >