[llvm-commits] [llvm] r119777 - in /llvm/trunk: include/llvm/MC/MCDwarf.h include/llvm/MC/MCStreamer.h include/llvm/Target/TargetMachine.h lib/CodeGen/LLVMTargetMachine.cpp lib/MC/MCAsmStreamer.cpp lib/MC/MCDwarf.cpp lib/MC/MCELFStreamer.cpp lib/MC/MCMachOStreamer.cpp lib/Target/TargetMachine.cpp

Devang Patel dpatel at apple.com
Tue Nov 30 18:16:54 PST 2010


On Nov 18, 2010, at 6:26 PM, Rafael Espindola wrote:

> Author: rafael
> Date: Thu Nov 18 20:26:16 2010
> New Revision: 119777
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=119777&view=rev
> Log:
> Change some methods in MCDwarf.cpp to be able to handle an arbitrary
> MCStreamer instead of just MCObjectStreamer. Address changes cannot
> be as efficient as we have to use DW_LNE_set_addres, but at least
> most of the logic is shared.
> 
> This will be used so that, with CodeGen still using EmitDwarfLocDirective,
> llvm-gcc is able to produce debug_line sections without needing an
> assembler that supports .loc.

This means debug_line section entries do not have comments. We need these comments to debug line table bugs. How are you going to address this ?

Right now I am debugging a regression caused by related patches in .debug_line output and it is very difficult to investigate with comments in assembly output.

-
Devang

 



More information about the llvm-commits mailing list