Hi,
How to check if two symbols are from same source file during WPA ?
Is symbol1->lto_file_data == symbol2->lto_file_data true if symbol1
and symbol2 are from same
source files ? Would that be a sufficient condition or do I need to
check for something more ?
Thanks,
Prathamesh
On April 12, 2016 3:47:19 PM GMT+02:00, Prathamesh Kulkarni
wrote:
>Hi,
>How to check if two symbols are from same source file during WPA ?
>Is symbol1->lto_file_data == symbol2->lto_file_data true if symbol1
>and symbol2 are from same
>source files ? Would that be a sufficient condition or do I
On 12 April 2016 at 22:41, Richard Biener wrote:
> On April 12, 2016 3:47:19 PM GMT+02:00, Prathamesh Kulkarni
> wrote:
>>Hi,
>>How to check if two symbols are from same source file during WPA ?
>>Is symbol1->lto_file_data == symbol2->lto_file_data true if symbol1
>>and symbol2 are from same
>>s
On Thu, 14 Apr 2016, Prathamesh Kulkarni wrote:
> On 12 April 2016 at 22:41, Richard Biener wrote:
> > On April 12, 2016 3:47:19 PM GMT+02:00, Prathamesh Kulkarni
> > wrote:
> >>Hi,
> >>How to check if two symbols are from same source file during WPA ?
> >>Is symbol1->lto_file_data == symbol2->
On 14 April 2016 at 13:56, Richard Biener wrote:
> On Thu, 14 Apr 2016, Prathamesh Kulkarni wrote:
>
>> On 12 April 2016 at 22:41, Richard Biener wrote:
>> > On April 12, 2016 3:47:19 PM GMT+02:00, Prathamesh Kulkarni
>> > wrote:
>> >>Hi,
>> >>How to check if two symbols are from same source fi
On Thu, 14 Apr 2016, Prathamesh Kulkarni wrote:
> On 14 April 2016 at 13:56, Richard Biener wrote:
> > On Thu, 14 Apr 2016, Prathamesh Kulkarni wrote:
> >
> >> On 12 April 2016 at 22:41, Richard Biener wrote:
> >> > On April 12, 2016 3:47:19 PM GMT+02:00, Prathamesh Kulkarni
> >> > wrote:
> >>
>
> What happens in practice? GCC doesn't put functions in random
> partitions.
>
The data goes into a separate partition AFAIU - it means that all data accesses
are as though they are extern references which means there's not necessarily
any CSE'ing ability that's available with section anc
On Thu, 14 Apr 2016, Ramana Radhakrishnan wrote:
>
> >
> > What happens in practice? GCC doesn't put functions in random
> > partitions.
> >
>
> The data goes into a separate partition AFAIU - it means that all data
> accesses are as though they are extern references which means there's
> n
> On Thu, 14 Apr 2016, Ramana Radhakrishnan wrote:
>
> >
> > >
> > > What happens in practice? GCC doesn't put functions in random
> > > partitions.
> > >
> >
> > The data goes into a separate partition AFAIU - it means that all data
> > accesses are as though they are extern references whic