Displaying 4 results from an estimated 4 matches for "lsection_line_begin".
2010 Jun 30
0
[LLVMdev] [patch] DwarfDebug problem with line section
Hi Devang,
Thanks for working on that. Unfortunately after your change it still doesn't
work (I've tried x86 and our backend under Linux).
The problem is that you put difference between two labels
.Lset7 = .Lsection_line_begin-.Lsection_line ## DW_AT_stmt_list
and that will be evaluated by assembler to a constant. It has to be a label,
not a constant, because it is the linker who knows the correct offset.
Artur
On Tue, Jun 29, 2010 at 10:18 PM, Devang Patel <devang.patel at gmail.com>wrote:
> I updated Dwarf...
2010 Jun 30
2
[LLVMdev] [patch] DwarfDebug problem with line section
...gmail.com> wrote:
> Hi Devang,
> Thanks for working on that. Unfortunately after your change it still doesn't
> work (I've tried x86 and our backend under Linux).
What errors exactly you are seeing ?
> The problem is that you put difference between two labels
> .Lset7 = .Lsection_line_begin-.Lsection_line ## DW_AT_stmt_list
> and that will be evaluated by assembler to a constant. It has to be a label,
> not a constant, because it is the linker who knows the correct offset.
How will linker translate a label into correct offset ?
-
Devang
2010 Jun 29
2
[LLVMdev] [patch] DwarfDebug problem with line section
I updated DwarfDebug to use section offset, instead of hard coding 0,
to handle LTO properly.
r107202.
Thanks for brining this up.
-
Devang
On Tue, Jun 29, 2010 at 11:27 AM, Devang Patel <devang.patel at gmail.com> wrote:
> DW_AT_stmt_list attribute's value is a section offset to the line no
> info for current compilation unit. If there is only one compilation
> unit
2010 Aug 17
1
[LLVMdev] [patch] DwarfDebug problem with line section
On 30 Jun 2010, at 18:40, Devang Patel wrote:
> On Wed, Jun 30, 2010 at 1:57 AM, Artur Pietrek <pietreka at gmail.com>
> wrote:
>> The problem is that you put difference between two labels
>> .Lset7 = .Lsection_line_begin-.Lsection_line ## DW_AT_stmt_list
>> and that will be evaluated by assembler to a constant. It has to be
>> a label,
>> not a constant, because it is the linker who knows the correct
>> offset.
>
> How will linker translate a label into correct offset ?
Sorry for...