guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file names embedded in .go


From: Andy Wingo
Subject: Re: file names embedded in .go
Date: Tue, 20 Apr 2010 11:45:33 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux)

On Mon 19 Apr 2010 23:46, Thien-Thi Nguyen <address@hidden> writes:

> () Andy Wingo <address@hidden>
> () Mon, 19 Apr 2010 16:52:09 +0200
>
>    Thoughts?
>
> It sounds complicated.
>
> Does the .go format support the usual ELF-y sections, like
> .rodata, .data, etc?

Nope, though we should just switch to use ELF at some point. Not this
month though :)

>  Maybe we could just include the source
> verbatim in such a section (and avoid mapping it at runtime).

As Jao notes it is useful to be able to map at runtime, and currently we
do this well, mapping to line and column within parts of procedures.

But it would be good to be able to map to expressions too, and having
the original source available without mapping to the filesystem should
be an option. It's tough without having the whole environment, though.
Something to think about :)

Andy
-- 
http://wingolog.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]