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 th
> -Original Message-
> From: Dwarf-Discuss [mailto:dwarf-discuss-boun...@lists.dwarfstd.org] On
> Behalf Of Paul Robinson via Dwarf-Discuss
> Sent: Tuesday, October 23, 2018 5:40 PM
> To: dwarf-discuss@lists.dwarfstd.org
> Subject: [Dwarf-Discuss] Alternate entry points
>
> On one of th
> I dug up gfortran 5.4, which does not emit DW_TAG_entry_point with my
> simple example program. Does anybody actually use it?
IBM XL Fortran generates it.
$ cat entry.f
subroutine foo(a)
integer a
real b
a = 5
return
entry bar(b)
b = 3.0
return
end subroutine
$
Gets the following