whereis asm_nodes? how to migrate it for GCC v6.x?
Leslie Zhai
lesliezhai@llvm.org.cn
Thu Jul 6 07:29:00 GMT 2017
Hi Segher,
Thanks for your kind response!
å¨ 2017å¹´07æ05æ¥ 18:52, Segher Boessenkool åé:
> Hi Leslie,
>
> On Wed, Jul 05, 2017 at 05:36:15PM +0800, Leslie Zhai wrote:
>> There was
>>
>> extern GTY(()) struct asm_node *asm_nodes;
>>
>> for GCC v4.x, but how to migrate it for v6.x? there is no asm_nodes
>> deprecated log in ChangeLog-201X nor git log cgraph.h... please give me
>> some hint, thanks a lot!
> symtab->first_asm_symbol ?
yes! works for me :) such as:
for (pa = symtab->first_asm_symbol (); pa; pa = pa->next)...
>
>
> Segher
--
Regards,
Leslie Zhai https://reviews.llvm.org/p/xiangzhai/
More information about the Gcc
mailing list