[cfe-dev] LLVM-GCC does not generate llvm.dbg.region.start

Sanjiv.Gupta at microchip.com Sanjiv.Gupta at microchip.com
Thu May 1 04:37:38 PDT 2008


 
> On Apr 30, 2008, at 12:16 AM, Sanjiv.Gupta at microchip.com wrote:
> 
> > I do not see llvm-gcc generating llvm.dbg.region.start/end 
> pairs for 
> > blocks.
> > Why?
> 
> I'm not sure off-hand.  I don't think that the dwarf emitter 
> supports them yet, so llvm-gcc probably just doesn't bother 
> producing them.
> 
> -Chris
> 

Well, its quite easy for clang to produce them. We have EmitCompoundStmt
for a {...}.
So I am going ahead and emit them too.

-Sanjiv




More information about the cfe-dev mailing list