[LLVMdev] [cfe-dev] Debug information on multiple files
Krister Wombell
kuwerty at gmail.com
Fri Aug 27 06:25:42 PDT 2010
If it's the offset in the DI header then I'm pretty sure that's already
taken care of.
Krister
On Thu, Aug 26, 2010 at 4:59 PM, Jonas Maebe <jonas.maebe at elis.ugent.be>wrote:
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100827/93598062/attachment.html>
More information about the llvm-dev
mailing list