Skip to content
Snippets Groups Projects
  • Hrishikesh Kulkarni's avatar
    66d62d9f
    Add lto-dump tool. · 66d62d9f
    Hrishikesh Kulkarni authored
    
    2019-05-06  Hrishikesh Kulkarni  <hrishikeshparag@gmail.com>
    	    Martin Liska  <mliska@suse.cz>
    
    	* Makefile.in: Add lto-dump.texi.
    	* cgraph.h: Add new functions get_visibility_string and
    	get_symtab_type_string.
    	* doc/gcc.texi: Include lto-dump section.
    	* doc/lto-dump.texi: New file.
    	* dumpfile.c (dump_switch_p_1): Use parse_dump_option.
    	(parse_dump_option): Factor out this function.
    	* dumpfile.h (enum dump_flag): Add new value TDF_ERROR.
    	(parse_dump_option): Export the function.
    	* symtab.c (symtab_node::get_visibility_string): New function.
    	(symtab_node::get_symtab_type_string): Likewise.
    2019-05-06  Hrishikesh Kulkarni  <hrishikeshparag@gmail.com>
    	    Martin Liska  <mliska@suse.cz>
    
    	* Make-lang.in: Add lto_dump-related definition.
    	* config-lang.in: Likewise.
    	* lang.opt: Add new language LTODump and options related
    	to LTO dump tool.
    	* lto-common.c (lto_read_decls): Support type statistics dump.
    	(lto_file_read): Likewise for object files.
    	* lto-dump.c: New file.
    	* lto-lang.c (lto_option_lang_mask): Move from ..
    	* lto.c (lto_option_lang_mask): .. here.
    	* lto.h (lto_option_lang_mask): New declaration.
    
    Co-Authored-By: default avatarMartin Liska <mliska@suse.cz>
    
    From-SVN: r270897
    66d62d9f
    History
    Add lto-dump tool.
    Hrishikesh Kulkarni authored
    
    2019-05-06  Hrishikesh Kulkarni  <hrishikeshparag@gmail.com>
    	    Martin Liska  <mliska@suse.cz>
    
    	* Makefile.in: Add lto-dump.texi.
    	* cgraph.h: Add new functions get_visibility_string and
    	get_symtab_type_string.
    	* doc/gcc.texi: Include lto-dump section.
    	* doc/lto-dump.texi: New file.
    	* dumpfile.c (dump_switch_p_1): Use parse_dump_option.
    	(parse_dump_option): Factor out this function.
    	* dumpfile.h (enum dump_flag): Add new value TDF_ERROR.
    	(parse_dump_option): Export the function.
    	* symtab.c (symtab_node::get_visibility_string): New function.
    	(symtab_node::get_symtab_type_string): Likewise.
    2019-05-06  Hrishikesh Kulkarni  <hrishikeshparag@gmail.com>
    	    Martin Liska  <mliska@suse.cz>
    
    	* Make-lang.in: Add lto_dump-related definition.
    	* config-lang.in: Likewise.
    	* lang.opt: Add new language LTODump and options related
    	to LTO dump tool.
    	* lto-common.c (lto_read_decls): Support type statistics dump.
    	(lto_file_read): Likewise for object files.
    	* lto-dump.c: New file.
    	* lto-lang.c (lto_option_lang_mask): Move from ..
    	* lto.c (lto_option_lang_mask): .. here.
    	* lto.h (lto_option_lang_mask): New declaration.
    
    Co-Authored-By: default avatarMartin Liska <mliska@suse.cz>
    
    From-SVN: r270897