This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, PING*4] Track indirect calls for call site information in debug info.
- From: Jason Merrill <jason at redhat dot com>
- To: Pierre-Marie de Rodat <derodat at adacore dot com>, gcc-patches at gcc dot gnu dot org
- Cc: Jakub Jelinek <jakub at redhat dot com>
- Date: Mon, 23 Nov 2015 16:11:10 -0500
- Subject: Re: [PATCH, PING*4] Track indirect calls for call site information in debug info.
- Authentication-results: sourceware.org; auth=none
- References: <55ACED68 dot 5050205 at adacore dot com> <55B5F472 dot 6040109 at adacore dot com> <55BF2951 dot 60107 at adacore dot com> <55C5D19D dot 8020703 at adacore dot com> <55E40238 dot 4050401 at adacore dot com>
On 08/31/2015 03:28 AM, Pierre-Marie de Rodat wrote:
On 07/20/2015 02:45 PM, Pierre-Marie de Rodat wrote:
On PowerPC targets with -mlongcall, most subprogram calls are turned
into indirect calls: the call target is read from a register even though
it is compile-time known. This makes it difficult for machine code
static analysis engines to recover the callee information. The attached
patch is an attempt to help such engines, generating
DW_AT_abstract_origin attributes for all DW_TAG_GNU_call_site we are
interested in.
Ping for the patch submitted in
<https://gcc.gnu.org/ml/gcc-patches/2015-07/msg01641.html>.
Jakub, since DW_TAG_GNU_call_site is your feature, could you review this?
Jason