Re: [debug-early] emitting early debug for external variables

2015-03-19 Thread Aldy Hernandez
On 03/19/2015 12:43 PM, Jason Merrill wrote: On 03/19/2015 02:03 PM, Aldy Hernandez wrote: I have moved the debug early generation for _symbols_ to rest_of_decl_compilation I think you mean "variables". Functions are also symbols. :) Oops, yes I did :). I will adjust the comments in my p

Re: [debug-early] emitting early debug for external variables

2015-03-19 Thread Jason Merrill
On 03/19/2015 02:03 PM, Aldy Hernandez wrote: I have moved the debug early generation for _symbols_ to rest_of_decl_compilation I think you mean "variables". Functions are also symbols. :) Other than that, makes sense to me. Jason

Re: [debug-early] emitting early debug for external variables

2015-03-19 Thread Aldy Hernandez
On 03/19/2015 02:08 AM, Richard Biener wrote: On Wed, Mar 18, 2015 at 10:28 PM, Jason Merrill wrote: If you move the call to rest_of_decl_compilation we could go through and prune the debug info for unused decls at dwarf2out_finish time, the way we do with unused types. True. Note that the v