This is the mail archive of the gcc-patches@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]

Re: Patch to dwarf2out.c handling abstract origin attributes


>>>>> Nick Clifton <nickc@cygnus.com> writes:

 > I didn't really understand exactly what was going on, but it appears
 > that the inline'd version of start_fde_sort() when it is used by
 > frame_init() is the cause of the problems.  It seems that at the code
 > in toplev.c at the start of rest_of_compilation() first sets the
 > abstract flag for the decl

Yes.

 > then calls dwarf2out_decl

Yes.

 > (which will not generate a die for the origin because it has been
 > marked as abstract).

No.  dwarf2out_decl does generate dies for decls marked as abstract; if
that isn't happening, that's your problem.

Jason


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