From: | ArarghMail902@Arargh.com |
Newsgroups: | comp.compilers |
Date: | Sat, 14 Feb 2009 13:30:49 -0600 |
Organization: | Ripco Communications Inc. |
References: | 09-02-021 09-02-025 09-02-031 09-02-038 09-02-048 |
Keywords: | C, debug |
Posted-Date: | 14 Feb 2009 16:56:05 EST |
On Fri, 13 Feb 2009 10:11:56 +0000 (UTC), Marco van de Voort
<marcov@stack.nl> wrote:
>On 2009-02-11, Anton Ertl <anton@mips.complang.tuwien.ac.at> wrote:
>>>Then, to implement certain features of your language might involve
>>>using casting and other tricks in the generated C when it's datatypes,
>>>and using a lot of gotos and labels when it's syntax.
>>>
>>>Then you make the discovery that you can use casting and gotos for
>>>nearly *all* your language constructs, meaning most features of C are
>>>not needed
>>
>> Yes, C is a little too high-level for that job, but it's still the
>> best portable assembly language we have. One can work around most of
>> these issues as you point out, though.
>
>(to all the people that might have tried C as backend):
>
>How do you insert debug metadata on the HLL level into your binary in such
>setup ? It seems to me your debuginfo will contain C linenumbers, typedata
>etc. IOW, how do you debug in your HLL this way?
I presume "#file" & "#Line"
--
ArarghMail902 at [drop the 'http://www.' from ->] http://www.arargh.com
BCET Basic Compiler Page: http://www.arargh.com/basic/index.html
Return to the
comp.compilers page.
Search the
comp.compilers archives again.