Re: [PR59319] output friends in debug info

2017-12-21 Thread Jason Merrill
On Tue, Dec 19, 2017 at 4:56 PM, Alexandre Oliva wrote: > On Dec 14, 2017, Jason Merrill wrote: > >> On 12/07/2017 04:04 PM, Alexandre Oliva wrote: > >>> For other templates, I ended up writing code to look for >>> specializations in the hashtables of decl or

Re: [PR59319] output friends in debug info

2017-12-19 Thread Alexandre Oliva
On Dec 14, 2017, Jason Merrill wrote: > On 12/07/2017 04:04 PM, Alexandre Oliva wrote: >> For other templates, I ended up writing code to look for >> specializations in the hashtables of decl or type specializations. >> That's not exactly efficient, but it gets the job done.

Re: [PR59319] output friends in debug info

2017-12-14 Thread Jason Merrill
al conflicts resolved) Ping? https://gcc.gnu.org/ml/gcc-patches/2017-01/msg02112.html Ping? Ping? (refreshed, retested) [PR59319] output friends in debug info Handling non-template friends is kind of easy, but it required a bit of infrastructure in dwarf2out to avoid (i) forcing debug info for unused ty

Re: [PR59319] output friends in debug info

2017-12-07 Thread Alexandre Oliva
conflicts resolved, patch refreshed and retested) >>> Ping? (trivial conflicts resolved) >> Ping? https://gcc.gnu.org/ml/gcc-patches/2017-01/msg02112.html > Ping? Ping? (refreshed, retested) [PR59319] output friends in debug info Handling non-template friends is kind of easy, but it

Re: [PR59319] output friends in debug info

2017-04-12 Thread Jeff Law
On 03/21/2017 12:34 PM, Alexandre Oliva wrote: On Jan 27, 2017, Alexandre Oliva wrote: On Oct 19, 2016, Alexandre Oliva wrote: On Sep 23, 2016, Alexandre Oliva wrote: On Aug 30, 2016, Alexandre Oliva wrote:

Re: [PR59319] output friends in debug info

2017-04-10 Thread Mike Stump
On Apr 7, 2017, at 11:32 AM, Alexandre Oliva wrote: > > On Mar 21, 2017, Alexandre Oliva wrote: >> >> Ping? https://gcc.gnu.org/ml/gcc-patches/2017-01/msg02112.html > Ping? The Objective-C/C++ parts look fine.

Re: [PR59319] output friends in debug info

2017-04-07 Thread Alexandre Oliva
On Mar 21, 2017, Alexandre Oliva wrote: > On Jan 27, 2017, Alexandre Oliva wrote: >> On Oct 19, 2016, Alexandre Oliva wrote: >>> On Sep 23, 2016, Alexandre Oliva wrote: On Aug 30, 2016, Alexandre Oliva

Re: [PR59319] output friends in debug info

2017-03-21 Thread Alexandre Oliva
On Jan 27, 2017, Alexandre Oliva wrote: > On Oct 19, 2016, Alexandre Oliva wrote: >> On Sep 23, 2016, Alexandre Oliva wrote: >>> On Aug 30, 2016, Alexandre Oliva wrote: Handling non-template friends is kind of

Re: [PR59319] output friends in debug info

2017-01-26 Thread Alexandre Oliva
ped on x86_64-linux-gnu and i686-linux-gnu, I'd failed to >> mention. >> Ping? > Ping? (conflicts resolved, patch refreshed and retested) Ping? (trivial conflicts resolved) [PR59319] output friends in debug info From: Alexandre Oliva <aol...@redhat.com> Handl

Re: [PR59319] output friends in debug info

2016-10-19 Thread Alexandre Oliva
On Sep 23, 2016, Alexandre Oliva wrote: > On Aug 30, 2016, Alexandre Oliva wrote: >> Handling non-template friends is kind of easy, [...] > Regstrapped on x86_64-linux-gnu and i686-linux-gnu, I'd failed to > mention. > Ping? Ping? (conflicts resolved,

Re: [PR59319] output friends in debug info

2016-09-23 Thread Alexandre Oliva
On Aug 30, 2016, Alexandre Oliva wrote: > Handling non-template friends is kind of easy, but it required a bit > of infrastructure in dwarf2out to avoid (i) forcing debug info for > unused types or functions: DW_TAG_friend DIEs are only emitted if > their DW_AT_friend DIE is

Re: [PR59319] output friends in debug info

2016-08-30 Thread Alexandre Oliva
On Aug 26, 2016, Jason Merrill wrote: > I suppose we can teach dwz to use the maximal set of friends... *nod* > This seems unnecessary; there is no semantic difference for a > particular specialization depending on whether it became a friend > directly or from its template.

Re: [PR59319] output friends in debug info

2016-08-26 Thread Jason Merrill
On Fri, Aug 19, 2016 at 2:46 PM, Alexandre Oliva wrote: > Handling non-template friends is kind of easy, but it required a bit > of infrastructure in dwarf2out to avoid (i) forcing debug info for > unused types or functions: DW_TAG_friend DIEs are only emitted if > their

Re: [PR59319] output friends in debug info

2016-08-26 Thread Richard Biener
On Fri, Aug 26, 2016 at 7:25 AM, Alexandre Oliva wrote: > On Aug 22, 2016, Richard Biener wrote: > >> Just throwing in a wrench from the side ... you should do this in >> dwarf2out_early_finish as late there will be no frontend around anymore. > >

Re: [PR59319] output friends in debug info

2016-08-25 Thread Alexandre Oliva
On Aug 22, 2016, Richard Biener wrote: > Just throwing in a wrench from the side ... you should do this in > dwarf2out_early_finish as late there will be no frontend around anymore. Thanks for the heads up, I've adjusted my local copy to do so. > Yeah,

Re: [PR59319] output friends in debug info

2016-08-22 Thread Richard Biener
On Fri, Aug 19, 2016 at 8:46 PM, Alexandre Oliva wrote: > This is not a finished patch. There are two issues I'd like feedback > on before a final submission. See them below. First, a general > description. > > Handling non-template friends is kind of easy, but it required a

[PR59319] output friends in debug info

2016-08-19 Thread Alexandre Oliva
This is not a finished patch. There are two issues I'd like feedback on before a final submission. See them below. First, a general description. Handling non-template friends is kind of easy, but it required a bit of infrastructure in dwarf2out to avoid (i) forcing debug info for unused types