This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [LTO] Make Move lto-symtab.c out of lto/


2008/10/24 Doug Kwan (éæå) <dougkwan@google.com>:
> I tried but it seems that lto-symtab.c also depends on language
> specific things in the lto1 FE.  Basically we store symbol resolution
> in identifier nodes, so we use an lto1 identifier instead of the
> regular one.

How about having a symbol table indexed by DECL_UID and storing symbol
resolution in that table?  In fact, data_in.globals_index could be our
symbol table.

Diego.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]