[LLVMdev] [cfe-dev] Debug information on multiple files

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Aug 26 01:59:38 PDT 2010


On 26 Aug 2010, at 10:32, Krister Wombell wrote:

> I've also been looking at debugging with ELF and noticed the same  
> problem as
> Renato. I just sent a patch to llvmcommits that fixes the problem.
> DW_at_stmt_list needs to emit a label(and therefore a relocation)  
> for the
> offset rather a constant 0, then the linker can fixup the offset as it
> shuffles object files around.

It's not just DW_at_stmt_list, you have to do the same for the pointer  
to the abbreviation section.


Jonas



More information about the llvm-dev mailing list