Re: debug strings output order is arbitrary

2014-03-18 Thread Richard Biener
On Mon, Mar 17, 2014 at 10:01 PM, Martin Uecker wrote: > Am Mon, 17 Mar 2014 09:44:53 +0100 > schrieb Richard Biener : > >> On Sun, Mar 16, 2014 at 3:58 AM, Martin Uecker >> wrote: >> > >> > Hi list, >> > >> > the strings in the ".debug_str" section are output >> > in an arbitrary order. Could t

Re: debug strings output order is arbitrary

2014-03-17 Thread Martin Uecker
Am Mon, 17 Mar 2014 09:44:53 +0100 schrieb Richard Biener : > On Sun, Mar 16, 2014 at 3:58 AM, Martin Uecker > wrote: > > > > Hi list, > > > > the strings in the ".debug_str" section are output > > in an arbitrary order. Could this be changed? > > > > The function 'output_indirect_strings' in 'g

Re: debug strings output order is arbitrary

2014-03-17 Thread Richard Biener
On Sun, Mar 16, 2014 at 3:58 AM, Martin Uecker wrote: > > Hi list, > > the strings in the ".debug_str" section are output > in an arbitrary order. Could this be changed? > > The function 'output_indirect_strings' in 'gcc/dwarf2out.c' > uses htab_traverse which then outputs the string in the > orde

debug strings output order is arbitrary

2014-03-15 Thread Martin Uecker
Hi list, the strings in the ".debug_str" section are output in an arbitrary order. Could this be changed? The function 'output_indirect_strings' in 'gcc/dwarf2out.c' uses htab_traverse which then outputs the string in the order they appear in the hash table. Instead, it would be nicer to output