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] Possible functions for writing FIELD_DECLs


Jim Blandy wrote:
> Here's my, um, theory as to how one might write DWARF for FIELD_DECLs
> and get a reference to them for LTO's use.  Kenny, I'm posting this in
> hopes that you'll be able to add code to test it more quickly than I
> could.
> 
> gcc/ChangeLog.lto:
> 2007-08-13  Jim Blandy  <jimb@codesourcery.com>
> 
> 	* dwarf2out.c (lto_field_ref, force_field_die): New functions.
> 	* dwarf2out.h (lto_field_ref): New declaration.

This looks good; please check it in.  Please also do the lto/ side of
the equation; Kenny will need lto_resolve_field_ref (like
lto_resolve_fn_ref) to get the FIELD_DECL back.

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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