Re: Question about reading LTO function summaries

2021-04-09 Thread Martin Jambor
Hi, On Tue, Apr 06 2021, Erick Ochoa wrote: >> On Fri, Mar 26 2021, Erick Ochoa via Gcc wrote: >> > I already have some experience developing SIMPLE_IPA_PASSes, but I am >> > looking to understand IPA_PASSes better. I have made a hello world ipa >> > pass that stores "hello world $FUNCTION_NAME" i

Re: Question about reading LTO function summaries

2021-04-06 Thread Erick Ochoa via Gcc
Hi Martin, thanks for taking some time to help me. I think I accidentally deleted the original hello world pass, but I have re-made it and I still have the same problem. I copy paste the patch at the bottom. Just to give some more context: I am running the following command: $PATH_TO_GCC/gcc -fi

Re: Question about reading LTO function summaries

2021-04-06 Thread Martin Jambor
Hi, On Fri, Mar 26 2021, Erick Ochoa via Gcc wrote: > I already have some experience developing SIMPLE_IPA_PASSes, but I am > looking to understand IPA_PASSes better. I have made a hello world ipa > pass that stores "hello world $FUNCTION_NAME" in the function > summaries; however, I am having tro

Re: Question about reading LTO function summaries

2021-04-01 Thread Erick Ochoa via Gcc
Hello, just trying one more time. Any direction or hint is appreciated. Just as a note, I looked at the ipa-devirt as an inspiration for these small functions I wrote, but for some reason I can't read what I assume have written to the summaries. (What I'm trying to do is simply use LTO using a rea

Re: Question about reading LTO function summaries

2021-03-30 Thread Erick Ochoa via Gcc
Hello, just trying again to increase visibility of this question. Many thanks in advance! On Fri, 26 Mar 2021 at 13:49, Erick Ochoa wrote: > > Hello, > > I already have some experience developing SIMPLE_IPA_PASSes, but I am > looking to understand IPA_PASSes better. I have made a hello world ip

Question about reading LTO function summaries

2021-03-26 Thread Erick Ochoa via Gcc
Hello, I already have some experience developing SIMPLE_IPA_PASSes, but I am looking to understand IPA_PASSes better. I have made a hello world ipa pass that stores "hello world $FUNCTION_NAME" in the function summaries; however, I am having trouble reading this information back. Can someone help