[lto] Possible functions for writing FIELD_DECLs
Mark Mitchell
mark@codesourcery.com
Wed Aug 15 07:03:00 GMT 2007
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
More information about the Gcc-patches
mailing list