On Wed, Dec 02, 2015 at 02:46:28PM +0100, Pierre-Marie de Rodat wrote:
> On 11/24/2015 06:10 PM, Jakub Jelinek wrote:
> >The new pass is IMNSHO completely useless and undesirable, both for compile
> >time (another whole IL traversal) reasons and for the unnecessary creation
> >of memory allocations.
> 
> Understood. Thank you very much for explaining how you think it should be!
> Here’s the patch implemeting this, bootstrapped and regtested without
> regression on x86_64-linux.
> 
> -- 
> Pierre-Marie de Rodat

> >From 41ed1a37921b4f9c5f762334265e72fd8e4b4a25 Mon Sep 17 00:00:00 2001
> From: Pierre-Marie de Rodat <dero...@adacore.com>
> Date: Thu, 13 Jun 2013 11:13:08 +0200
> Subject: [PATCH] Track indirect calls for call site information in debug info
> 
> gcc/ChangeLog:
> 
>       * dwarf2out.c (dwar2out_var_location): In addition to notes,
>       process indirect calls whose target is compile-time known.
>       Enhance pattern matching to get the SYMBOL_REF they embed.
>       (gen_subprogram_die): Handle such calls.
>       * final.c (final_scan_insn): For call instructions, invoke the
>       var_location debug hook only after the call has been emitted.

Ok, thanks.

        Jakub

Reply via email to