[lto] create language hooks for outputting lto sections

Ollie Wild aaw@google.com
Thu Jun 19 17:36:00 GMT 2008


On Thu, Jun 19, 2008 at 4:44 AM, Rafael Espindola <espindola@google.com> wrote:
>
> Why is this a lang hook? lto1 will be the only language to implement
> it right? Shouldn't they be normal functions?

Not quite.  lto1 will be the only front end to use a non-default
implementation.  The other front ends still use the default hooks
(lhd_begin_section, lhd_write_section_data, and lhd_end_section) to
output assembly for lto sections.

Ollie



More information about the Gcc-patches mailing list