This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
How to check if two symbols are from same source unit during WPA ?
- From: Prathamesh Kulkarni <prathamesh dot kulkarni at linaro dot org>
- To: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>, Richard Biener <rguenther at suse dot de>
- Date: Tue, 12 Apr 2016 19:17:19 +0530
- Subject: How to check if two symbols are from same source unit during WPA ?
- Authentication-results: sourceware.org; auth=none
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