Intel Fortran uses DW_TAG_entry_point as well, and shows "a" as a parameter to
foo() and "b" as a parameter to alt entry point bar().
-John Bishop
___
Dwarf-Discuss mailing list
Dwarf-Discuss@lists.dwarfstd.org
http://lists.dwarfstd.org/listinfo
On 10/24/2018 03:15 AM, Jakub Jelinek via Dwarf-Discuss wrote:
On Wed, Oct 24, 2018 at 01:00:26AM -0400, Rafik Zurob via Dwarf-Discuss wrote:
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
> -Original Message-
> From: Jakub Jelinek [mailto:ja...@redhat.com]
> Sent: Wednesday, October 24, 2018 6:16 AM
> To: Rafik Zurob
> Cc: Robinson, Paul; dwarf-discuss@lists.dwarfstd.org
> Subject: Re: [Dwarf-Discuss] Alternate entry points
>
> On Wed, Oct 24,
On Wed, Oct 24, 2018 at 01:00:26AM -0400, Rafik Zurob via Dwarf-Discuss wrote:
> > 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
OpenVMS Fortran on Alpha and Itanium uses DW_TAG_entry_point as well, just
as shown in the prior email.
Ron Brender
On Wed, Oct 24, 2018 at 1:00 AM Rafik Zurob via Dwarf-Discuss <
dwarf-discuss@lists.dwarfstd.org> wrote:
> > I dug up gfortran 5.4, which does not emit DW_TAG_entry_point with my
>
> 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
> -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 poi
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