Re: [PR63240] generate debug info for defaulted member functions

2016-08-08 Thread Jason Merrill
OK. On Fri, Aug 5, 2016 at 5:47 PM, Alexandre Oliva wrote: > On Aug 4, 2016, Jason Merrill wrote: > >> On Mon, Aug 1, 2016 at 10:57 PM, Alexandre Oliva wrote: >>> * langhooks.h (struct lang_hooks_for_decls): Add >>> function_decl_defaulted_inclass_p and >>> function_decl_defaulted_outofclass_p

Re: [PR63240] generate debug info for defaulted member functions

2016-08-05 Thread Alexandre Oliva
eted in DwARF v5 drafts, I've dropped the _GNU attributes for these and started using the values from the draft, adjusting for them to be emitted even for strict DWARF v5. Here's what I'm testing. Ok if it regstraps successfully? [PR63240] generate debug info for defaulted me

Re: [PR63240] generate debug info for defaulted member functions

2016-08-04 Thread Jason Merrill
On Mon, Aug 1, 2016 at 10:57 PM, Alexandre Oliva wrote: > * langhooks.h (struct lang_hooks_for_decls): Add > function_decl_defaulted_inclass_p and > function_decl_defaulted_outofclass_p. Maybe one hook that returns unsigned rather than two bool hooks? Jason

[PR63240] generate debug info for defaulted member functions

2016-08-01 Thread Alexandre Oliva
This implements , a proposal already accepted for inclusion in DWARF-5, but using DW_AT_GNU_defaulted instead of DW_AT_defaulted as the attribute name, because the attribute id for DW_AT_defaulted is not yet publicly available. Regstrapped on x86_6