Re: [GSOC] LTO dump tool project - feedback

2018-08-26 Thread Hrishikesh Kulkarni
Hrishikesh Kulkarni wrote: > > Hi, > > Thanks for the feedback. > I have made the corrections for the feedback points: > 1, 4, 5, 6, 7, 8, 9, 11, 12. > I am working on the remaining points. > > I have pushed the changes to the repo (lto-dump-tool-v4 branch) and > a

Re: [GSOC] LTO dump tool project - feedback

2018-08-16 Thread Hrishikesh Kulkarni
Hi, Thanks for the feedback. I have made the corrections for the feedback points: 1, 4, 5, 6, 7, 8, 9, 11, 12. I am working on the remaining points. I have pushed the changes to the repo (lto-dump-tool-v4 branch) and attached the diff file herewith. Regards, Hrishikesh On Wed, Aug 15,

issue with gt-lto-lto.h

2018-08-11 Thread Hrishikesh Kulkarni
Hi, With reference to GSOC project LTO dump tool. https://github.com/hrisearch/gcc/tree/lto-dump-tool-v4 After refactoring lto.c into lto-common.c, there seems to be an issue of gt-lto-lto.h not getting generated. I tried a few tweaks like adding lto-common.c to config-lang.in, adding the include

Re: [GSOC] LTO dump tool project - feedback

2018-08-03 Thread Hrishikesh Kulkarni
Hi, Thanks for inputs and feedback. As per feedback, I have made all the corrections/changes to the best of my understanding. Please find details of the same given below.: 1) options of lto-dump: a) removed the no-demangle command line option as it is default. b) exit added after every dump. (to m

Re: [GSOC] LTO dump tool project

2018-07-18 Thread Hrishikesh Kulkarni
diff file attached herewith. Please advise. Hrishikesh On Tue, Jul 17, 2018 at 6:30 PM, Martin Liška wrote: > On 07/16/2018 05:44 PM, Hrishikesh Kulkarni wrote: >> Hi, >> >> As suggested I have created command line option -optimized=[none, >> blocks, stats, vops] to dum

Re: [GSOC] LTO dump tool project

2018-07-16 Thread Hrishikesh Kulkarni
d herewith. Regards, Hrishikesh On Fri, Jul 13, 2018 at 2:47 PM, Martin Liška wrote: > On 07/12/2018 08:05 PM, Hrishikesh Kulkarni wrote: >> Hi, >> >> I have added command line options: >> >> -body= >> To dump gimple body (TDF_NONE) of specific function

Re: [GSOC] LTO dump tool project

2018-07-10 Thread Hrishikesh Kulkarni
Hi, Thanks for suggestions. I would start working on these points and will try to complete as early as possible. Regards, Hrishikesh On Mon, Jul 9, 2018 at 2:04 PM, Martin Liška wrote: > On 07/09/2018 09:50 AM, Hrishikesh Kulkarni wrote: >> Hi, >> >> The command line opti

Re: [GSOC] LTO dump tool project

2018-07-03 Thread Hrishikesh Kulkarni
the repo. Please find the diff file attached herewith. Regards, Hrishikesh On Fri, Jun 29, 2018 at 12:55 PM, Martin Liška wrote: > On 06/27/2018 10:06 PM, Hrishikesh Kulkarni wrote: >> Hi, >> >> I have added new command line options: >> -no-demangle -> for the defau

Re: [GSOC] LTO dump tool project

2018-06-20 Thread Hrishikesh Kulkarni
changes on Github repo. Regards, Hrishikesh On Mon, Jun 18, 2018 at 2:15 PM, Martin Jambor wrote: > Hi, > > On Sun, Jun 17 2018, Hrishikesh Kulkarni wrote: >> Hi, >> >> I am trying to isolate the dump tool into real lto-dump tool. I have >> started with the co

Re: [GSOC] LTO dump tool project

2018-06-17 Thread Hrishikesh Kulkarni
Hi, I am trying to isolate the dump tool into real lto-dump tool. I have started with the copy&paste of lto.c into lto-dump.c and done the changes to Make-lang.in and config-lang.in suggested by Martin (patch attached). However when I try to build, I get the following error: In file included from

Re: [GSOC] LTO dump tool project

2018-06-12 Thread Hrishikesh Kulkarni
Hi, I tried tweaking the make file. I am probably missing something. Please advise. Regards, Hrishikesh On Mon, Jun 11, 2018 at 1:36 PM, Martin Liška wrote: > On 06/08/2018 07:16 PM, Hrishikesh Kulkarni wrote: >> Hi, >> >> -fdump-lto-body=foo >> will dump gimp

Re: [GSOC] LTO dump tool project

2018-06-08 Thread Hrishikesh Kulkarni
Hi, -fdump-lto-body=foo will dump gimple body of the function foo foo (int a, int b) { [local count: 1073741825]: _3 = a_1(D) + b_2(D); return _3; } Please find the diff file attached herewith. Regards, Hrishikesh On Fri, Jun 8, 2018 at 7:15 PM, Martin Liška wrote: > On 06/08/2018 03:

Re: [GSOC] LTO dump tool project

2018-06-08 Thread Hrishikesh Kulkarni
018 08:13 PM, Hrishikesh Kulkarni wrote: >> >> Hi, >> >> -fdump-lto-list will dump all the symbol list > > > I see extra new lines in the output: > > $ lto1 -fdump-lto-list main.o > [..snip..] > Symbol Table > Name

Re: [GSOC] LTO dump tool project

2018-06-04 Thread Hrishikesh Kulkarni
have tried to format the changes according to gnu coding style and added required methods in symtab_node. Please find the diff file attached. Regards, Hrishikesh On Mon, Jun 4, 2018 at 2:06 PM, Martin Liška wrote: > On 06/01/2018 08:59 PM, Hrishikesh Kulkarni wrote: >> Hi, >> I

Re: [GSOC] LTO dump tool project

2018-06-01 Thread Hrishikesh Kulkarni
Hi, I have pushed the changes to github (https://github.com/hrisearch/gcc). Added a command line option for specific dumps of variables and functions used in IL e.g. -fdump-lto-list=foo will dump: Call Graph: foo/1 (foo) Type: function visibility: default Regards, Hrishikesh On Tue, May 29, 2

[GSOC] LTO dump tool project

2018-05-29 Thread Hrishikesh Kulkarni
Hi, My exams have finally ended and I have started working on the GSOC project. I have forked GCC mirror (https://github.com/hrisearch/gcc) and created a option for dumping functions and variables used in IL. Please find the patch attached herewith. Regards, Hrishikesh diff --git a/gcc/lto/lang.o

Re: GSoC 2018: Hrishikesh Kulkarni has been selected to work on LTO dumping tool

2018-04-28 Thread Hrishikesh Kulkarni
Apr 25, 2018 at 5:17 AM, Hrishikesh Kulkarni > wrote: >> Hi, >> >> Thanks a lot for giving me this wonderful opportunity to work with GCC >> under your guidance and mentorship (GSOC 2018). >> >> Just a few starting queries >> >>1. >>

Re: GSoC 2018: Hrishikesh Kulkarni has been selected to work on LTO dumping tool

2018-04-24 Thread Hrishikesh Kulkarni
On Tue, Apr 24, 2018 at 6:27 PM, Martin Jambor wrote: > Hello, > > I am pleased to announce that Hrishikesh Kulkarni will be working on > "Textual Representation of LTO Object Files (Textual LTO dump tool > project)" as his Google Summer of Code 2018 project. I belie

Re: GSOC 2018 - Textual LTO dump tool project

2018-03-16 Thread Hrishikesh Kulkarni
Hi, Thanks Martin and Richard. I have uploaded the final proposal on GSOC website. Meantime I will study makefiles and GNU Make in greater detail. Regards, Hrishikesh On Thu, Mar 15, 2018 at 4:09 PM, Martin Liška wrote: > On 03/15/2018 09:45 AM, Richard Biener wrote: > > Yes, I think it's fin

Re: GSOC 2018 - Textual LTO dump tool project

2018-03-14 Thread Hrishikesh Kulkarni
On Wed, Mar 14, 2018 at 8:28 PM, Richard Biener wrote: > On Tue, Mar 13, 2018 at 5:30 AM, Hrishikesh Kulkarni > wrote: > > Hi, > > > > Thanks. I have tried to incorporate suggestions and prepared a revised > draft > > of proposal for GSOC. Please find

Re: GSOC 2018 - Textual LTO dump tool project

2018-03-12 Thread Hrishikesh Kulkarni
://docs.google.com/document/d/1-jYwwDWsHQwMaxVsHFBrJ9EiCAev7ljTDLS1xMwvK5w/edit Regards, Hrishikesh On Mon, Mar 12, 2018 at 4:45 PM, Richard Biener wrote: > On Sun, Mar 11, 2018 at 8:23 PM, Hrishikesh Kulkarni > wrote: > > Hi, > > > > Greetings! Please find my draft proposal fo

Re: GSOC 2018 - Textual LTO dump tool project

2018-03-11 Thread Hrishikesh Kulkarni
On Tue, Mar 6, 2018 at 8:59 PM, Jan Hubicka wrote: > > On Tue, Mar 6, 2018 at 4:02 PM, Jan Hubicka wrote: > > >> On Tue, Mar 6, 2018 at 2:30 PM, Hrishikesh Kulkarni > > >> wrote: > > >> > Hi, > > >> > > > >> > T

Re: GSOC 2018 - Textual LTO dump tool project

2018-03-06 Thread Hrishikesh Kulkarni
: > Hello, > > On Fri, Mar 2, 2018 at 10:24 AM, Hrishikesh Kulkarni > > wrote: > > > Hello everyone, > > > > > > > > > Thanks for your suggestions and engaging response. > > > > > > Based on the feedback I think that the scope of

Re: GSOC 2018 - Textual LTO dump tool project

2018-03-02 Thread Hrishikesh Kulkarni
busy week > > and now I am traveling. > > > > On Mon, Feb 19 2018, Hrishikesh Kulkarni wrote: > >> Hi, > >> > >> I am Hrishikesh Kulkarni currently studying as an undergrad student in > >> Computer Engineering at Pune University, India. I find compil

GSOC 2018 - Textual LTO dump tool project

2018-02-19 Thread Hrishikesh Kulkarni
Hi, I am Hrishikesh Kulkarni currently studying as an undergrad student in Computer Engineering at Pune University, India. I find compilers quite interesting as a subject, and would like to apply to GSoC to gain some understanding of how real-world compilers work. So far, I have managed to build