This is the mail archive of the
mailing list for the GCC project.
Re: RFA (varpool): PATCH to add forward-compatibility aliases for C++ ABI bugs
On Fri, Feb 26, 2010 at 8:18 PM, Jason Merrill <firstname.lastname@example.org> wrote:
> On 02/26/2010 08:52 AM, Richard Guenther wrote:
>> On Fri, Feb 26, 2010 at 2:41 PM, Jason Merrill<email@example.com> ?wrote:
>>> On 02/26/2010 05:48 AM, Richard Guenther wrote:
>>>> In fact you probably need to adjust the LTO streamer and symtab
>>>> merger for your change (while it should handle alias_pairs already).
>>> I thought about that, but varpool nodes are not streamed.
>> I think we walk them and stream the decls.
> Ah, I see where they're written out (output_unreferenced_globals), but not
> where they are read back in. ?All I see is this bit in input_alias_pairs:
They are read back in as decls and simply registered with the varpool.
Thus, if we want to deal with varpool aliases we probably have to start
to stream the varpool nodes explicitly.
>> ?/* Skip over all the unreferenced globals. ?*/
>> ? ?var = lto_input_tree (ib, data_in);
>> ?while (var);