[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Guile 2.2 TODO
From: |
Andy Wingo |
Subject: |
Re: Guile 2.2 TODO |
Date: |
Thu, 03 Oct 2013 23:27:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Hi,
On Sun 01 Sep 2013 13:03, Andy Wingo <address@hidden> writes:
> * Source information.
>
> The plan here would be to use DWARF. We don't use DWARF yet, so there
> are a few parts of this.
>
> - Add a DWARF parser; see the wip-dwarf branch for that.
>
> - Emit debugging info entries (DIEs) for each function in a
> compilation unit, into the .debug_info section. Initially they
> would be minimal, just having the function's address and maybe its
> name.
>
> - Add machinery to (system vm debug) to get a DIE for a procedure, if
> it is present.
>
> - Add a macro-instruction to the assembler that records source
> location info. Have the assembler collect this info.
>
> - Have the assembler write out source location info into a .debug_line
> section, and link the DIE to that info.
>
> - Add an appropriate interface to (system vm debug) to parse out line
> number information. Perhaps model this interface on what is already
> in (system vm program).
>
> - Shim the existing (system vm program) interfaces to call the new
> (system vm debug) interfaces for RTL programs.
Done! Woo hoo :)
> * Local variable information.
Still to do, will put off until later.
> * Replace bytecode trampolines with RTL trampolines.
> * Prompt, abort, and call/cc.
> * Compiling all of Guile to RTL.
These are next.
Andy
--
http://wingolog.org/
- Re: Guile 2.2 TODO,
Andy Wingo <=