On Mon 19 Apr 2010 23:46, Thien-Thi Nguyen <t...@gnuvola.org> writes:
> () Andy Wingo <wi...@pobox.com> > () 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/