This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Implement -fcallgraph-info option


On Fri, 29 Oct 2010, Eric Botcazou wrote:

> +/* Compute stack usage information on a per-function basis.  */
> +extern int flag_stack_usage_info;
> +
> +/* Output callgraph information on a per-file basis.  */
> +#define CALLGRAPH_INFO_NAKED         0x1
> +#define CALLGRAPH_INFO_STACK_USAGE   0x2
> +#define CALLGRAPH_INFO_DYNAMIC_ALLOC 0x4
> +extern int flag_callgraph_info;

Please use Variable declarations in common.opt for new option variables, 
so they go in the gcc_options structure, instead of manual declarations in 
flags.h and toplev.c.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]