[PATCH 0/3][stage1] [PATCH v2] LTO dump tool

marxin mliska@suse.cz
Thu Mar 14 14:00:00 GMT 2019


Hi.

The patch series is a remake of Hrishikesh's LTO dump tool that was
part of GSoC last year. I decided to split the patch into 3 parts, where
the first one is purely mechanical splitting code into a newly created
one. The second part introduces the new tool. And the last one is about
GNU coding style fixes.

Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
Ready to be installed after stage1 opens?

Thanks,
Martin

marxin (3):
  Split part of functionality from lto.c to lto-common.c.
  Add lto-dump tool.
  Fix GNU coding style in lto-common.c.

 gcc/Makefile.in        |    2 +-
 gcc/cgraph.h           |    6 +
 gcc/doc/gcc.texi       |    5 +
 gcc/doc/lto-dump.texi  |  131 ++
 gcc/dumpfile.c         |   85 +-
 gcc/dumpfile.h         |    5 +
 gcc/lto/Make-lang.in   |   22 +-
 gcc/lto/config-lang.in |    4 +-
 gcc/lto/lang.opt       |   62 +
 gcc/lto/lto-common.c   | 2883 ++++++++++++++++++++++++++++++++++++++++
 gcc/lto/lto-common.h   |   33 +
 gcc/lto/lto-dump.c     |  344 +++++
 gcc/lto/lto-lang.c     |    7 +-
 gcc/lto/lto.c          | 2869 +--------------------------------------
 gcc/lto/lto.h          |    2 +
 gcc/symtab.c           |   17 +
 16 files changed, 3612 insertions(+), 2865 deletions(-)
 create mode 100644 gcc/doc/lto-dump.texi
 create mode 100644 gcc/lto/lto-common.c
 create mode 100644 gcc/lto/lto-common.h
 create mode 100644 gcc/lto/lto-dump.c

-- 
2.21.0



More information about the Gcc-patches mailing list