On April 12, 2016 3:47:19 PM GMT+02:00, Prathamesh Kulkarni <prathamesh.kulka...@linaro.org> 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 need to >check for something more ?
Why would you want to know? The proposed check would verify it comes from the same TU. Richard. >Thanks, >Prathamesh