aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorHrishikesh Kulkarni <hrishikeshparag@gmail.com>2019-05-06 07:23:25 +0000
committerMartin Liska <marxin@gcc.gnu.org>2019-05-06 07:23:25 +0000
commit66d62d9f2e6b059be6a018397fba555147133a9a (patch)
treefab164b40d0f06c1e3b883ed151202724aa28fd7 /libcpp
parenta79420f995764129dc40d1abcbf8ce75a0b0f906 (diff)
downloadgcc-66d62d9f2e6b059be6a018397fba555147133a9a.zip
gcc-66d62d9f2e6b059be6a018397fba555147133a9a.tar.gz
gcc-66d62d9f2e6b059be6a018397fba555147133a9a.tar.bz2
Add lto-dump tool.
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: Martin Liska <mliska@suse.cz> From-SVN: r270897
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions