Re: How can distinguish DECL in LTO mode?

2018-08-13 Thread David fuqiang Fan
Thanks for the info. On Sun, Aug 12, 2018, 23:30 Richard Biener wrote: > On August 12, 2018 12:30:26 PM GMT+02:00, zet wrote: > >Hello, everyone. > >Sorry to disturb you, but this question confused me several days, I > >have > >searched the GCC source code cannot find the answers. > > > >I

Re: How can distinguish DECL in LTO mode?

2018-08-12 Thread Richard Biener
On August 12, 2018 12:30:26 PM GMT+02:00, zet wrote: >Hello, everyone. >Sorry to disturb you, but this question confused me several days, I >have >searched the GCC source code cannot find the answers. > >I know we can distinguish the different DECL tree using DECL_UID in a >translation unit. But

How can distinguish DECL in LTO mode?

2018-08-12 Thread zet
Hello, everyone. Sorry to disturb you, but this question confused me several days, I have searched the GCC source code cannot find the answers. I know we can distinguish the different DECL tree using DECL_UID in a translation unit. But when in LTO mode, lto1 combine some input fat object files.