Re: [PATCH] libiberty: support demangling of rvalue reference typenames

2016-05-18 Thread Jeff Law
On 01/04/2016 06:43 PM, Artemiy Volkov wrote: 016-01-04 Artemiy Volkov * cplus-dem.c (enum type_kind_t): Add tk_rvalue_reference constant. (demangle_template_value_parm): Handle tk_rvalue_reference type kind. (do_type): Support 'O' type id (rvalue refer

Re: [PATCH] libiberty: support demangling of rvalue reference typenames

2016-01-05 Thread Ian Lance Taylor
On Tue, Jan 5, 2016 at 12:38 PM, Artemiy Volkov wrote: > On Tue, Jan 05, 2016 at 07:26:36AM -0800, Ian Lance Taylor wrote: > >> If gdb is using the code in cplus-dem.c in any way for a program >> compiled in the last 15 years, then gdb is doing something horribly >> wrong. What function is gdb ca

Re: [PATCH] libiberty: support demangling of rvalue reference typenames

2016-01-05 Thread Artemiy Volkov
On Tue, Jan 05, 2016 at 07:26:36AM -0800, Ian Lance Taylor wrote: > On Tue, Jan 5, 2016 at 5:59 AM, Artemiy Volkov wrote: > > On Tue, Jan 05, 2016 at 05:26:28AM -0800, Ian Lance Taylor wrote: > >> Artemiy Volkov writes: > >> > >> > On Mon, Jan 04, 2016 at 10:06:44PM -0800, Ian Lance Taylor wrote:

Re: [PATCH] libiberty: support demangling of rvalue reference typenames

2016-01-05 Thread Ian Lance Taylor
On Tue, Jan 5, 2016 at 5:59 AM, Artemiy Volkov wrote: > On Tue, Jan 05, 2016 at 05:26:28AM -0800, Ian Lance Taylor wrote: >> Artemiy Volkov writes: >> >> > On Mon, Jan 04, 2016 at 10:06:44PM -0800, Ian Lance Taylor wrote: >> >> Artemiy Volkov writes: >> >> >> >> > This patch adds handling of 'O'

Re: [PATCH] libiberty: support demangling of rvalue reference typenames

2016-01-05 Thread Artemiy Volkov
On Tue, Jan 05, 2016 at 05:26:28AM -0800, Ian Lance Taylor wrote: > Artemiy Volkov writes: > > > On Mon, Jan 04, 2016 at 10:06:44PM -0800, Ian Lance Taylor wrote: > >> Artemiy Volkov writes: > >> > >> > This patch adds handling of 'O' (rvalue ref) type codes in the C++ > >> > demangling > >> >

Re: [PATCH] libiberty: support demangling of rvalue reference typenames

2016-01-05 Thread Ian Lance Taylor
Artemiy Volkov writes: > On Mon, Jan 04, 2016 at 10:06:44PM -0800, Ian Lance Taylor wrote: >> Artemiy Volkov writes: >> >> > This patch adds handling of 'O' (rvalue ref) type codes in the C++ >> > demangling >> > code which is done similarly to the 'R' (regular references) >> > case. It also ad

Re: [PATCH] libiberty: support demangling of rvalue reference typenames

2016-01-04 Thread Artemiy Volkov
On Mon, Jan 04, 2016 at 10:06:44PM -0800, Ian Lance Taylor wrote: > Artemiy Volkov writes: > > > This patch adds handling of 'O' (rvalue ref) type codes in the C++ > > demangling > > code which is done similarly to the 'R' (regular references) case. It also > > adds > > a few testcases for vari

Re: [PATCH] libiberty: support demangling of rvalue reference typenames

2016-01-04 Thread Ian Lance Taylor
Artemiy Volkov writes: > This patch adds handling of 'O' (rvalue ref) type codes in the C++ demangling > code which is done similarly to the 'R' (regular references) case. It also > adds > a few testcases for various demangling styles which are just mirrored versions > of the corresponding regul

[PATCH] libiberty: support demangling of rvalue reference typenames

2016-01-04 Thread Artemiy Volkov
This patch adds handling of 'O' (rvalue ref) type codes in the C++ demangling code which is done similarly to the 'R' (regular references) case. It also adds a few testcases for various demangling styles which are just mirrored versions of the corresponding regular references demangling tests. lib