introduce -fcallgraph-info option
Joseph Myers
joseph@codesourcery.com
Mon Oct 28 23:56:00 GMT 2019
On Sat, 26 Oct 2019, Alexandre Oliva wrote:
> Regstrapped on x86_64-linux-gnu. Ok to install?
I have only a peripheral comment:
> diff --git a/gcc/common.opt b/gcc/common.opt
> index cc279f411d796..63d646fba2b42 100644
> --- a/gcc/common.opt
> +++ b/gcc/common.opt
> @@ -1091,6 +1091,14 @@ fbtr-bb-exclusive
> Common Ignore
> Does nothing. Preserved for backward compatibility.
>
> +fcallgraph-info
> +Common Report RejectNegative Var(flag_callgraph_info) Init(NO_CALLGRAPH_INFO);
> +Output callgraph information on a per-file basis
> +
> +fcallgraph-info=
> +Common Report RejectNegative Joined
> +Output callgraph information on a per-file basis with decorations
We have a test in the testsuite that all option help text consistently
ends with '.' (see gcc.misc-tests/help.exp). I'd have expected these
options, lacking that '.', to cause that test to fail.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Gcc-patches
mailing list