How to check if two symbols are from same source unit during WPA ?

Prathamesh Kulkarni prathamesh.kulkarni@linaro.org
Tue Apr 12 13:47:00 GMT 2016


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



More information about the Gcc mailing list