This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [google gcc-4_8] port gcov-tool to gcc-4_8
- From: Xinliang David Li <davidxl at google dot com>
- To: Rong Xu <xur at google dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 17 Jan 2014 12:05:05 -0800
- Subject: Re: [google gcc-4_8] port gcov-tool to gcc-4_8
- Authentication-results: sourceware.org; auth=none
- References: <CAF1bQ=QvYE1SC+8AAdSadk-JJ==en93w=m+7qqHMuWELBKkkMQ at mail dot gmail dot com>
For LIPO parameters, you can do this
1) isolate all LIPO specific parameters into lipo_params.def, and
include it from params.def.
2) include lipo_params.def (after proper definition of DEFPARAM) in
the profile tool source dir.
By so doing, the compiler setting and profile tool will be in sync.
(Unfortuately, for historic reason, the lipo_cutoff default val is
still set in dyn-ipa.c even with the parameter, so some comments needs
to be added in dyn-ipa.c to make sure the value should be doubly
updated).
David
On Fri, Jan 17, 2014 at 11:15 AM, Rong Xu <xur@google.com> wrote:
> Hi,
>
> This patch port the gcov-tool work to google/gcc-4_8 branches.
>
> Tested with spec2006, profiledbootstrap and google internal benchmarks.
>
> -Rong