[Dwarf-Discuss] Alternate entry points

paul.robinson@sony.com paul.robinson
Tue Oct 23 22:00:53 GMT 2018



> -----Original Message-----
> From: Dwarf-Discuss [mailto:dwarf-discuss-bounces at lists.dwarfstd.org] On
> Behalf Of Paul Robinson via Dwarf-Discuss
> Sent: Tuesday, October 23, 2018 5:40 PM
> To: dwarf-discuss at lists.dwarfstd.org
> Subject: [Dwarf-Discuss] Alternate entry points
> 
> On one of the LLVM lists, a question came up about representing alternate
> entry points. Fortran and PL/I and probably other languages can do this.
> 
> I see DWARF has DW_TAG_entry_point, however the spec is completely silent
> on how this entry relates to other entries for the same subprogram.
> Should there be one "primary" DW_TAG_subprogram, which then owns the
> alternate DW_TAG_entry_point entries?  Or maybe several sibling entries
> all with DW_TAG_entry_point, and no primary DW_TAG_subprogram entry?
> I don't have a Fortran compiler handy to try this with so I'm curious
> what the current state-of-the-practice is (and of course whether this
> ought to be spelled out in the spec itself).

I dug up gfortran 5.4, which does not emit DW_TAG_entry_point with my
simple example program.  Does anybody actually use it?
--paulr

> 
> Thanks,
> --paulr
> _______________________________________________
> Dwarf-Discuss mailing list
> Dwarf-Discuss at lists.dwarfstd.org
> http://lists.dwarfstd.org/listinfo.cgi/dwarf-discuss-dwarfstd.org



More information about the Dwarf-discuss mailing list