[patch] Implement -fcallgraph-info option
Joseph S. Myers
joseph@codesourcery.com
Fri Oct 29 13:31:00 GMT 2010
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
More information about the Gcc-patches
mailing list