r198569 - in /branches/google/gcc-4_7/gcc: Make...
dehao@gcc.gnu.org
dehao@gcc.gnu.org
Fri May 3 02:48:00 GMT 2013
Author: dehao
Date: Fri May 3 02:48:40 2013
New Revision: 198569
URL: http://gcc.gnu.org/viewcvs?rev=198569&root=gcc&view=rev
Log:
Add LIPO Support for AutoFDO.
2013-05-02 Dehao Chen (dehao@google.com)
gcc/auto-profile.c (afdo_module): New field.
(afdo_stack_hash): Handle the empty function name.
(afdo_stack_eq): Likewise.
(afdo_add_module): Add new field.
(read_aux_modules): Handle LIPO module correctly.
(read_profile): Likewise.
(auto_profile): Likewise.
gcc/c-family/c-opts.c (c_common_parse_file): Handle flags.
gcc/toplev.c (do_compile): Likewise.
gcc/coverage.c (incompatible_cl_args): Change to extern.
(coverage_init): Handle AutoFDO.
(write_compilation_info_to_asm): Handle flags.
gcc/coverage.h (incompatible_cl_args): New func.
gcc/common.opt (frecord-gcc-switches-in-elf): New flags.
gcc/opts.h (write_compilation_info_to_asm): New func.
Modified:
branches/google/gcc-4_7/gcc/Makefile.in
branches/google/gcc-4_7/gcc/auto-profile.c
branches/google/gcc-4_7/gcc/c-family/c-opts.c
branches/google/gcc-4_7/gcc/common.opt
branches/google/gcc-4_7/gcc/coverage.c
branches/google/gcc-4_7/gcc/coverage.h
branches/google/gcc-4_7/gcc/opts.h
branches/google/gcc-4_7/gcc/toplev.c
More information about the Gcc-cvs
mailing list