[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/

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Nov 30 18:48:56 PST 2010


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

By using .loc the assembler is a lot easier to read. The llvm-gcc
output already had no comments in it.

> 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.

There are two possibilities, the output with .loc is incorrect, in
which case reading the assembly and finding out that a ".loc 1 2 3"
should actually be ".loc 2 2 3" is not that hard.

The assembler (MC) is wrong. In this case you should be able to
compare the output of llvm-mc and the system assembler.

> -
> Devang
>
>

Cheers,
Rafael



More information about the llvm-commits mailing list