[lto] add direct-to-ELF serialization to lto1
Mark Mitchell
mark@codesourcery.com
Fri Jun 27 22:37:00 GMT 2008
Tom Tromey wrote:
>>>>>> "Diego" == Diego Novillo <dnovillo@google.com> writes:
>
> Diego> All of the lang hooks? I don't think we want to get rid of all
> Diego> of them.
>
> Yeah, we can't ever get rid of all of them -- we could do it nominally
> but only by reintroducing the same thing under a different name.
> E.g., you need a lang-hook-equivalent to call the FE's parser at all.
Indeed. We've discussed this multiple times on the lists, but since
there still seems to be confusion, let's say it again: we only want to
remove langhooks that affect the semantic interpretation of IL. The
middle-end IL should have meaning independent of the source language.
However, how that IL is generated, or how we format error messages,
etc., are perfectly reasonable uses of langhooks.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713
More information about the Gcc-patches
mailing list