Re: [Dwarf-Discuss] Line table "no-op" sequence, leb length

2018-04-30 Thread Paul Robinson via Dwarf-Discuss
> -Original Message- > From: David Anderson [mailto:dave...@linuxmail.org] > Sent: Thursday, April 26, 2018 4:48 PM > To: Robinson, Paul > Subject: Re: [Dwarf-Discuss] Line table "no-op" sequence, leb length > > On 04/26/2018 10:04 AM, Paul Robinson via D

Re: [Dwarf-Discuss] Line table "no-op" sequence

2018-04-26 Thread Paul Robinson via Dwarf-Discuss
> >> One technique you haven't mentioned is to stretch out LEB128 numbers > >> with extra 0x80's. > > > > Yeah, I kind of don't like abusing the LEB format like that. Maybe > > for one or two bytes, but not arbitrarily long strings (as you note, > > some consumers will decide it's corrupted data).

Re: [Dwarf-Discuss] Line table "no-op" sequence

2018-04-26 Thread Cary Coutant via Dwarf-Discuss
On Wed, Apr 25, 2018 at 11:38 AM, wrote: >> One technique you haven't mentioned is to stretch out LEB128 numbers >> with extra 0x80's. > > Yeah, I kind of don't like abusing the LEB format like that. Maybe > for one or two bytes, but not arbitrarily long strings (as you note, > some consumers wi

Re: [Dwarf-Discuss] Line table "no-op" sequence

2018-04-25 Thread Paul Robinson via Dwarf-Discuss
> One technique you haven't mentioned is to stretch out LEB128 numbers > with extra 0x80's. Yeah, I kind of don't like abusing the LEB format like that. Maybe for one or two bytes, but not arbitrarily long strings (as you note, some consumers will decide it's corrupted data). > When doing an in

Re: [Dwarf-Discuss] Line table "no-op" sequence

2018-04-24 Thread Cary Coutant via Dwarf-Discuss
> Recently I had a chat with one of the linker developers on my team. > He was trying to work out how to insert what would effectively be a > no-op sequence into the line table. > > One reason to do this is if a producer wanted to pad the line table > for a compilation unit, either for alignment pu