Re: Is Assembler Language essential in compiler construction?

Bill Cox <llib-xoc@sbcglobal.net>
Wed, 25 Feb 2009 12:35:33 -0800

          From comp.compilers

Related articles
[17 earlier articles]
Re: Is Assembler Language essential in compiler construction? ArarghMail902@Arargh.com (2009-02-14)
Re: Is Assembler Language essential in compiler construction? cr88192@hotmail.com (cr88192) (2009-02-16)
Re: Is Assembler Language essential in compiler construction? DrDiettrich1@aol.com (Hans-Peter Diettrich) (2009-02-16)
Re: Is Assembler Language essential in compiler construction? cr88192@hotmail.com (cr88192) (2009-02-18)
Re: Is Assembler Language essential in compiler construction? DrDiettrich1@aol.com (Hans-Peter Diettrich) (2009-02-19)
Re: Is Assembler Language essential in compiler construction? toby@telegraphics.com.au (toby) (2009-02-25)
Re: Is Assembler Language essential in compiler construction? llib-xoc@sbcglobal.net (Bill Cox) (2009-02-25)
Re: Is Assembler Language essential in compiler construction? bartc@freeuk.com (Bartc) (2009-02-25)
| List of all articles for this month |

From: Bill Cox <llib-xoc@sbcglobal.net>
Newsgroups: comp.compilers
Date: Wed, 25 Feb 2009 12:35:33 -0800
Organization: at&t http://my.att.net/
References: 09-02-021 09-02-025 09-02-031 09-02-038 09-02-048
Keywords: code, debug
Posted-Date: 26 Feb 2009 20:12:38 EST

> (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?


For line number information, you can generate the '#' records
like the GNU C pre-processor, if you're planning to use the GNU C
compiler as your back end. Here's the doc page:
http://gcc.gnu.org/onlinedocs/cpp/Line-Control.html#Line-Control



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.