[LLVMdev] Debug Info Question

Sanjiv.Gupta at microchip.com Sanjiv.Gupta at microchip.com
Tue Feb 24 20:57:41 PST 2009



> -----Original Message-----
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
On
> Behalf Of Devang Patel
> Sent: Tuesday, February 24, 2009 11:38 PM
> To: LLVM Developers Mailing List
> Subject: Re: [LLVMdev] Debug Info Question
> 
> Sachin,
> 
> On Feb 24, 2009, at 12:27 AM, Sachin.Punyani at microchip.com wrote:
> 
> > Hi,
> >
> > I want to emit the debug information in assembly through assembler
> > directives. Also I don't want to emit debug information in sections
> > (like Dwarf). Instead the debug information will be interspersed
> > with the assembly. However in LLVM, debug info (e.g. stoppoint) is
> > read and made part of the DAG only when DwarfWriter is registered.
> >
> > How can I emit the debug information in assembly with out using
> > DwarfWriter?
> 
> We are moving in the direction where DwafWriter won't be required
> while building DAG. The work is in progress to annotate machine
> instructions (DebugLoc etc..) with debugging information which can be
> directly interpreted by an asm printer.

Is there anything we can we help with?

- Sanjiv







More information about the llvm-dev mailing list