Re: [Dwarf-Discuss] address pool + offset representation

2017-07-26 Thread David Blaikie
On Wed, Jul 26, 2017 at 4:27 PM Robinson, Paul wrote: > >> Well... why not just use ranges, in that case? .debug_rnglists is > >> already tuned to reduce relocations. A range list with only one > >> entry is the same as a contiguous range, and DW_RLE_offset_pair is > >> basically the same as us

Re: [Dwarf-Discuss] address pool + offset representation

2017-07-26 Thread Robinson, Paul
>> Well... why not just use ranges, in that case?  .debug_rnglists is >> already tuned to reduce relocations.  A range list with only one >> entry is the same as a contiguous range, and DW_RLE_offset_pair is >> basically the same as using constant low_pc and high_pc. >

Re: [Dwarf-Discuss] address pool + offset representation

2017-07-26 Thread David Blaikie
On Wed, Jul 26, 2017 at 12:56 PM Robinson, Paul wrote: > >> This discussion is about reducing the number of .debug_addr entries you > >> need, so the place to look would be the "class address" attributes. > >> There aren't all that many of them, and the one most likely to benefit > >> would be DW

Re: [Dwarf-Discuss] address pool + offset representation

2017-07-26 Thread Robinson, Paul
>> This discussion is about reducing the number of .debug_addr entries you >> need, so the place to look would be the "class address" attributes. >> There aren't all that many of them, and the one most likely to benefit >> would be DW_AT_low_pc. >> >> We made it okay to have DW_AT_high_pc be a cons

Re: [Dwarf-Discuss] address pool + offset representation

2017-07-26 Thread David Blaikie
On Wed, Jul 26, 2017 at 12:00 PM Robinson, Paul wrote: > > From: Dwarf-Discuss [mailto:dwarf-discuss-boun...@lists.dwarfstd.org] > On Behalf Of David Blaikie > > Sent: Wednesday, July 26, 2017 11:04 AM > > To: Doug Evans; dwarf-discuss@lists.dwarfstd.org > > Subject: Re: [Dwarf-Discuss] address p

Re: [Dwarf-Discuss] address pool + offset representation

2017-07-26 Thread Robinson, Paul
> From: Dwarf-Discuss [mailto:dwarf-discuss-boun...@lists.dwarfstd.org] On > Behalf Of David Blaikie > Sent: Wednesday, July 26, 2017 11:04 AM > To: Doug Evans; dwarf-discuss@lists.dwarfstd.org > Subject: Re: [Dwarf-Discuss] address pool + offset representation > > > On Wed, Jul 26, 2017 at 10:51

Re: [Dwarf-Discuss] address pool + offset representation

2017-07-26 Thread David Blaikie
On Wed, Jul 26, 2017 at 10:51 AM Doug Evans wrote: > How about a new form that specifies two things: index in .debug_addr + > offset, where index and offset are any current constant representation > (fixed size or leb) ? > Roughly what I had in mind - but wasn't sure how to encode that. Would t