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/



Reply via email to