This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: curious check in dwarf2_gen_line_info()


>>>>> On Wed, 29 Dec 2004 10:33:32 -0800, Geoff Keating <geoffk@geoffk.org> said:

  Geoff> The overhead of the duplicates should not be very significant
  Geoff> (compared to the information that is required), because the
  Geoff> compiler should already be suppressing duplicate line
  Geoff> information except where it is needed.

Ah, there are multiple issues here: you're assuming that
dwarf2_gen_line_info() is only called once per loc-directive, but this
isn't true for tc-ia64.c, which calls dwarf2_gen_line_info() for each
instruction, no matter what.

I'll check gdb to see if it gets any new failures on ia64 with the
duplicate line info removed.

	--david


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]