This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: whereis asm_nodes? how to migrate it for GCC v6.x?


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/




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]