Sv: Sv: [PATCH] jit : Generate debug info for variables

2021-09-02 Thread Petter Tomner via Gcc-patches
: den 2 september 2021 17:21 Till: Petter Tomner ; gcc-patches@gcc.gnu.org; j...@gcc.gnu.org Ämne: Re: Sv: [PATCH] jit : Generate debug info for variables On Tue, 2021-08-31 at 00:23 +, Petter Tomner via Gcc-patches wrote: > Well I seemed to have attached the wrong testcase. Here is the prope

Re: Sv: [PATCH] jit : Generate debug info for variables

2021-09-02 Thread David Malcolm via Gcc-patches
2:14 > Till: gcc-patches@gcc.gnu.org; j...@gcc.gnu.org > Ämne: [PATCH] jit : Generate debug info for variables > > Hi, > > This is a patch to generate debug info for local variables as well as > globals. > With this, "ptype foo", "info variables", "

Re: [PATCH] jit : Generate debug info for variables

2021-09-02 Thread David Malcolm via Gcc-patches
On Tue, 2021-08-31 at 00:13 +, Petter Tomner via Gcc-patches wrote: > Hi, > > This is a patch to generate debug info for local variables as well as > globals. > With this, "ptype foo", "info variables", "info locals" etc works > when debugging in GDB. > > Finalizing of global variable declar

Sv: [PATCH] jit : Generate debug info for variables

2021-08-30 Thread Petter Tomner via Gcc-patches
Well I seemed to have attached the wrong testcase. Here is the proper one attached. Regards, -Ursprungligt meddelande- Från: Petter Tomner Skickat: den 31 augusti 2021 02:14 Till: gcc-patches@gcc.gnu.org; j...@gcc.gnu.org Ämne: [PATCH] jit : Generate debug info for variables Hi, This

[PATCH] jit : Generate debug info for variables

2021-08-30 Thread Petter Tomner via Gcc-patches
Hi, This is a patch to generate debug info for local variables as well as globals. With this, "ptype foo", "info variables", "info locals" etc works when debugging in GDB. Finalizing of global variable declares are moved to after locations are handled and done as Fortran, C, Go etc do it. Also